Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractCheckMojo - Class in de.thetaphi.forbiddenapis.maven
Base class for forbiddenapis Mojos.
AbstractCheckMojo() - Constructor for class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
add(ResourceCollection) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Set of class files to check
addBundledSignatures(String, String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of bundled API signatures from classpath.
addBundledSignatures(String, String) - Method in class de.thetaphi.forbiddenapis.Signatures
Reads a list of bundled API signatures from classpath.
addBundledSignatures(String, String, boolean, Set<String>) - Method in class de.thetaphi.forbiddenapis.Signatures
 
addClassesToCheck(File...) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a multiple class files.
addClassesToCheck(File, Iterable<String>) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a multiple class files.
addClassesToCheck(File, String...) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a multiple class files.
addClassesToCheck(Iterable<File>) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a multiple class files.
addClassToCheck(File) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a class from the given file to the list of classes to check.
addClassToCheck(InputStream, String) - Method in class de.thetaphi.forbiddenapis.Checker
Deprecated.
addSignature(String, String, Signatures.UnresolvableReporting, boolean, Set<String>) - Method in class de.thetaphi.forbiddenapis.Signatures
Adds the method signature to the list of disallowed methods.
addSignaturesResource(T) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
 
addSuppressAnnotation(Class<? extends Annotation>) - Method in class de.thetaphi.forbiddenapis.Checker
Adds the given annotation class for suppressing errors.
addSuppressAnnotation(String) - Method in class de.thetaphi.forbiddenapis.Checker
Adds suppressing annotation name in binary form (dotted).
addText(String) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Support for API signatures list as nested text
addText(String) - Method in class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
allowmissingclassesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
allowunresolvablesignaturesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
AncestorVisitor - Class in de.thetaphi.forbiddenapis
 
AncestorVisitor(Reporter, RelatedClassLookup) - Constructor for class de.thetaphi.forbiddenapis.AncestorVisitor
 
AncestorVisitor.AncestorVisitorResult - Enum in de.thetaphi.forbiddenapis
 
AncestorVisitorResult() - Constructor for enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
 
AntTask - Class in de.thetaphi.forbiddenapis.ant
Task to check if a set of class files contains calls to forbidden APIs from a given classpath and list of API signatures (either inline or as pointer to files).
AntTask() - Constructor for class de.thetaphi.forbiddenapis.ant.AntTask
 
apiSignatures - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
artifactId - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Artifact's ID (required)
AsmUtils - Class in de.thetaphi.forbiddenapis
Some static utilities for analyzing with ASM, also constants.
AsmUtils() - Constructor for class de.thetaphi.forbiddenapis.AsmUtils
 

B

binaryToInternal(String) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Converts a binary class name (dotted) to the JVM internal one (slashed).
BS_JDK_NONPORTABLE - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
BUNDLED_PREFIX - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
BUNDLED_SIGNATURES_COMPARATOR - Static variable in class de.thetaphi.forbiddenapis.VersionCompare
 
BUNDLED_SIGNATURES_NAMES - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
bundledSignatures - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
bundledSignatures - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Specifies built-in signatures files (e.g., deprecated APIs for specific Java versions, unsafe method calls using default locale, default charset,...)
bundledsignaturesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
BundledSignaturesType - Class in de.thetaphi.forbiddenapis.ant
 
BundledSignaturesType() - Constructor for class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 

C

checkAnnotationDescriptor(Reporter, Type, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
checkClass(ClassMetadata, Pattern) - Method in class de.thetaphi.forbiddenapis.Checker
Parses a class and checks for valid method invocations
checkClassUse(Reporter, String, String, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
checkClassUse(Reporter, Type, String, boolean, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
checkConstant(Object, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
checkDescriptor(Reporter, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
checkDone() - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
Checker - Class in de.thetaphi.forbiddenapis
Forbidden APIs checker class.
Checker(Logger, ClassLoader, Checker.Option...) - Constructor for class de.thetaphi.forbiddenapis.Checker
 
Checker(Logger, ClassLoader, EnumSet<Checker.Option>) - Constructor for class de.thetaphi.forbiddenapis.Checker
 
Checker.Option - Enum in de.thetaphi.forbiddenapis
 
CheckerResult - Class in de.thetaphi.forbiddenapis
Result of a single class check.
CheckerResult(String, String, List<ForbiddenViolation>) - Constructor for class de.thetaphi.forbiddenapis.CheckerResult
 
checkField(Reporter, String, String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
checkFieldAccess(String, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
checkHandle(Handle, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
checkMethod(Reporter, String, Method) - Method in class de.thetaphi.forbiddenapis.Signatures
 
checkMethodAccess(String, Method, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
CheckMojo - Class in de.thetaphi.forbiddenapis.maven
Mojo to check if no project generated class files (compile scope) contain calls to forbidden APIs from the project classpath and a list of API signatures (either inline or as pointer to files or bundled signatures).
CheckMojo() - Constructor for class de.thetaphi.forbiddenapis.maven.CheckMojo
 
checkNew(Reporter, String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
checkType(Reporter, Type, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
checkType(Reporter, Type, String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
CLASS_CONSTRUCTOR_METHOD_NAME - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
CLASS_DOWNGRADE_LOGGED - Static variable in class de.thetaphi.forbiddenapis.AsmUtils
 
classesDirectory - Variable in class de.thetaphi.forbiddenapis.maven.CheckMojo
Directory with the class files to check.
classesDirectory - Variable in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
Directory with the class files to check.
classesToCheck - Variable in class de.thetaphi.forbiddenapis.Checker
Classes to check: key is the binary name (dotted)
classFiles - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
classifier - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Classifier (optional)
ClassMetadata - Class in de.thetaphi.forbiddenapis
Utility class that is used to get an overview of all fields and implemented methods of a class.
ClassMetadata(Class<?>, boolean) - Constructor for class de.thetaphi.forbiddenapis.ClassMetadata
Alternative ctor that can be used to build the information via reflection from an already loaded class.
ClassMetadata(ClassReader, boolean, boolean) - Constructor for class de.thetaphi.forbiddenapis.ClassMetadata
Builds the information from an ASM ClassReader
classname - Variable in class de.thetaphi.forbiddenapis.ant.SuppressAnnotationType
 
className - Variable in class de.thetaphi.forbiddenapis.CheckerResult
 
className - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
className - Variable in exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
classpath - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
classpathClassCache - Variable in class de.thetaphi.forbiddenapis.Checker
Cache of loaded classes: key is the binary name (dotted)
classpathElements - Variable in class de.thetaphi.forbiddenapis.maven.CheckMojo
Injected compile classpath.
classpathElements - Variable in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
Injected test classpath.
classpathOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
ClassPatternRule - Class in de.thetaphi.forbiddenapis
 
ClassPatternRule(String, String) - Constructor for class de.thetaphi.forbiddenapis.ClassPatternRule
Create new rule for class glob and given printout
classPatterns - Variable in class de.thetaphi.forbiddenapis.Signatures
set of patterns of forbidden classes
ClassScanner - Class in de.thetaphi.forbiddenapis
 
ClassScanner(ClassMetadata, RelatedClassLookup, Signatures, Pattern, boolean) - Constructor for class de.thetaphi.forbiddenapis.ClassScanner
 
ClassScanner.FieldScanner - Class in de.thetaphi.forbiddenapis
 
ClassScanner.MethodScanner - Class in de.thetaphi.forbiddenapis
 
ClassScanner.RecordComponentScanner - Class in de.thetaphi.forbiddenapis
 
classSuppressed - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
CliMain - Class in de.thetaphi.forbiddenapis.cli
CLI class with a static main() method
CliMain(String...) - Constructor for class de.thetaphi.forbiddenapis.cli.CliMain
 
cmd - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
compareBundledSignatures(String, String) - Static method in class de.thetaphi.forbiddenapis.VersionCompare
 
compareTo(ForbiddenViolation) - Method in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
compareVersion(String, String) - Static method in class de.thetaphi.forbiddenapis.VersionCompare
 
Constants - Interface in de.thetaphi.forbiddenapis
 
CONSTRUCTOR_METHOD_NAME - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
createArtifact() - Method in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Used by the mojo to fetch the artifact
createBundled() - Method in class de.thetaphi.forbiddenapis.ant.SignaturesResources
 
createBundledSignatures() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Creates a bundled signatures instance
createClasspath() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Classpath as nested element
createJarUrl(File, String) - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
createSet(Set<? extends T>) - Static method in class de.thetaphi.forbiddenapis.ClassMetadata
 
createSeverityOverride() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Adds an override for forbidden API signatures for which violations should not be reported at all (i.e.
createSeverityOverride() - Method in class de.thetaphi.forbiddenapis.ant.SignaturesResources
 
createSignatures() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Collection of arbitrary Ant resources or <bundled/> elements.
createSignaturesFile() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Single file with API signatures as nested element
createSignaturesFileList() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
List of files with API signatures as nested element
createSignaturesFileSet() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Set of files with API signatures as nested element
createSuppressAnnotation() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Creates a instance of an annotation class name that suppresses error reporting in classes/methods/fields.
currentGroupId - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
currentLocation - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
currentLocation - Variable in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
currentLocation - Variable in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
currentLocation - Variable in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 

D

de.thetaphi.forbiddenapis - package de.thetaphi.forbiddenapis
 
de.thetaphi.forbiddenapis.ant - package de.thetaphi.forbiddenapis.ant
 
de.thetaphi.forbiddenapis.cli - package de.thetaphi.forbiddenapis.cli
 
de.thetaphi.forbiddenapis.maven - package de.thetaphi.forbiddenapis.maven
 
debug - Variable in class de.thetaphi.forbiddenapis.StdIoLogger
 
debug(String) - Method in interface de.thetaphi.forbiddenapis.Logger
 
debug(String) - Method in class de.thetaphi.forbiddenapis.StdIoLogger
 
DEBUG - Enum constant in enum de.thetaphi.forbiddenapis.ViolationSeverity
 
debugOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
DEFAULT_MESSAGE_PREFIX - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
DEPRECATED_DESCRIPTOR - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
DEPRECATED_TYPE - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
DEPRECATED_WARN_FAIL_ON_UNRESOLVABLE_SIGNATURES - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
description - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
determineNonPortableRuntime() - Method in class de.thetaphi.forbiddenapis.ClassMetadata
 
dirOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
DISABLE_CLASSLOADING_CACHE - Enum constant in enum de.thetaphi.forbiddenapis.Checker.Option
 
disableClassloadingCache - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
disableClassloadingCache - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Disable the internal JVM classloading cache when getting bytecode from the classpath.
done - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
DOT_SPLITTER_PATTERN - Static variable in class de.thetaphi.forbiddenapis.VersionCompare
 

E

encodeUrlPath(String) - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
ENDS_WITH_VERSION_PATTERN - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
equals(Object) - Method in class de.thetaphi.forbiddenapis.ClassPatternRule
 
error(String) - Method in interface de.thetaphi.forbiddenapis.Logger
 
error(String) - Method in class de.thetaphi.forbiddenapis.StdIoLogger
 
ERROR - Enum constant in enum de.thetaphi.forbiddenapis.ViolationSeverity
 
excludes - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
List of Ant patterns.
excludesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
execute() - Method in class de.thetaphi.forbiddenapis.ant.AntTask
 
execute() - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
EXIT_ERR_CMDLINE - Static variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
EXIT_ERR_OTHER - Static variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
EXIT_SUCCESS - Static variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
EXIT_UNSUPPORTED_JDK - Static variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
EXIT_VIOLATION - Static variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
exitCode - Variable in exception de.thetaphi.forbiddenapis.cli.ExitException
 
ExitException - Exception in de.thetaphi.forbiddenapis.cli
Used by the CLI to signal process exit with a specific exit code
ExitException(int) - Constructor for exception de.thetaphi.forbiddenapis.cli.ExitException
 
ExitException(int, String) - Constructor for exception de.thetaphi.forbiddenapis.cli.ExitException
 

F

FAIL - Enum constant in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 
FAIL_ON_MISSING_CLASSES - Enum constant in enum de.thetaphi.forbiddenapis.Checker.Option
 
FAIL_ON_UNRESOLVABLE_SIGNATURES - Enum constant in enum de.thetaphi.forbiddenapis.Checker.Option
 
FAIL_ON_VIOLATION - Enum constant in enum de.thetaphi.forbiddenapis.Checker.Option
 
failOnMissingClasses - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
failOnMissingClasses - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Fail the build, if a class referenced in the scanned code is missing.
failOnUnresolvableSignatures - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
failOnUnresolvableSignatures - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Deprecated.
The setting failOnUnresolvableSignatures was deprecated and will be removed in next version. Use AbstractCheckMojo.ignoreSignaturesOfMissingClasses instead.
failOnUnresolvableSignatures - Variable in class de.thetaphi.forbiddenapis.Signatures
 
failOnUnsupportedJava - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
failOnUnsupportedJava - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Fail the build, if the bundled ASM library cannot read the class file format of the runtime library or the runtime library cannot be discovered.
failOnViolation - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
failOnViolation - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
failOnViolation - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Fail the build if violations have been found.
failOnViolation - Variable in class de.thetaphi.forbiddenapis.Signatures
determines default severity for violations if no severity on signature level is overridden.
fields - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
FieldScanner(int, String, String) - Constructor for class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
fixTargetVersion(String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
ForbiddenApiException - Exception in de.thetaphi.forbiddenapis
 
ForbiddenApiException(String) - Constructor for exception de.thetaphi.forbiddenapis.ForbiddenApiException
 
ForbiddenApiException(String, Throwable) - Constructor for exception de.thetaphi.forbiddenapis.ForbiddenApiException
 
forbiddenSignatures - Variable in class de.thetaphi.forbiddenapis.Checker
 
forbiddenSignatures - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
ForbiddenViolation - Class in de.thetaphi.forbiddenapis
 
ForbiddenViolation(int, String, String, int, ViolationSeverity) - Constructor for class de.thetaphi.forbiddenapis.ForbiddenViolation
 
ForbiddenViolation(int, Method, String, String, int, ViolationSeverity) - Constructor for class de.thetaphi.forbiddenapis.ForbiddenViolation
 
forbidNonPortableRuntime - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
forbidNonPortableRuntime - Variable in class de.thetaphi.forbiddenapis.Signatures
if enabled, the bundled signature to enable heuristics for detection of non-portable runtime calls is used
formatClassesAbbreviated(Collection<String>) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Formats a list of classes, abbreviated, with 2 spaces in front (for logging)
formatLocationInfo(String, String) - Method in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
formatTypePrintout(String, String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 

G

getBinaryClassName() - Method in class de.thetaphi.forbiddenapis.ClassMetadata
 
getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
provided by the concrete Mojos for compile and test classes processing
getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.maven.CheckMojo
 
getClassesDirectory() - Method in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
 
getClassFromClassLoader(String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a class (binary name) from the given ClassLoader.
getClassFromClassLoader(String) - Method in interface de.thetaphi.forbiddenapis.RelatedClassLookup
 
getClassname() - Method in class de.thetaphi.forbiddenapis.ant.SuppressAnnotationType
 
getClassName() - Method in class de.thetaphi.forbiddenapis.CheckerResult
 
getClassName() - Method in exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
provided by the concrete Mojos for compile and test classes processing
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.maven.CheckMojo
 
getClassPathElements() - Method in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
 
getClassResourceName(String) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Converts a binary class name to a ".class" file resource name.
getException() - Method in exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
getGroupId() - Method in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
getHumanReadableMethodSignature() - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
getKey(String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
getKey(String, String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
getKey(String, Method) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
getKey4New(String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
getKeys(Signatures.UnresolvableReporting, boolean, Set<String>, String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
getModuleName(URL) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns the module name from a jrt:/ URL; returns null if no module given or wrong URL type.
getName() - Method in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
getPrintout(String) - Method in class de.thetaphi.forbiddenapis.ClassPatternRule
returns the printout using the message and the given class name
getReader() - Method in class de.thetaphi.forbiddenapis.ClassMetadata
 
getSeverityForClassName(String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
getSeverityForKey(String) - Method in class de.thetaphi.forbiddenapis.Signatures
 
getSignatures() - Method in class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
getSortedViolations() - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
getSourceFile() - Method in class de.thetaphi.forbiddenapis.CheckerResult
 
getSourceFile() - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
getTargetVersion() - Method in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
getTargetVersion() - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
gets overridden for test, because it uses testTargetVersion as optional name to override
getTargetVersion() - Method in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
 
getViolations() - Method in class de.thetaphi.forbiddenapis.CheckerResult
 
glob - Variable in class de.thetaphi.forbiddenapis.ClassPatternRule
 
glob2Pattern(String...) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns a regex pattern that matches on any of the globs on class names (e.g., "sun.misc.**")
groupId - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
groupId - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Artifact's group ID (required)

H

hashCode() - Method in class de.thetaphi.forbiddenapis.ClassPatternRule
 
hasNoSignatures() - Method in class de.thetaphi.forbiddenapis.Checker
Returns if there are any signatures.
hasNoSignatures() - Method in class de.thetaphi.forbiddenapis.Signatures
Returns if there are any signatures.
helpOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 

I

IGNORE_MISSING_CLASSES_LINE - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
IGNORE_SIGNATURES_OF_MISSING_CLASSES - Enum constant in enum de.thetaphi.forbiddenapis.Checker.Option
 
IGNORE_UNRESOLVABLE_LINE - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
ignoreEmptyFileset - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
ignoreSignaturesOfMissingClasses - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
ignoreSignaturesOfMissingClasses - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
If a class is missing while parsing signatures files, all methods and fields from this class are silently ignored.
ignoreSignaturesOfMissingClasses - Variable in class de.thetaphi.forbiddenapis.Signatures
 
ignoresignaturesofmissingclassesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
includes - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
List of Ant patterns which must match all relative class paths to be considered.
includesOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
info(String) - Method in interface de.thetaphi.forbiddenapis.Logger
 
info(String) - Method in class de.thetaphi.forbiddenapis.StdIoLogger
 
INFO - Enum constant in enum de.thetaphi.forbiddenapis.ViolationSeverity
 
INSTANCE - Static variable in class de.thetaphi.forbiddenapis.StdIoLogger
 
INSTANCE_DEBUG - Static variable in class de.thetaphi.forbiddenapis.StdIoLogger
 
interfaces - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
isDeprecated - Variable in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
isDeprecated - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
isDeprecated - Variable in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
isExceptionInAsmClassReader(RuntimeException) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns true, if the given RuntimeException was caused by ASM's ClassReader
isGlob(String) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns true is a string is a glob pattern
isInterface - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
isKey(String) - Static method in class de.thetaphi.forbiddenapis.Signatures
 
isNonPortableRuntime - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
isNonPortableRuntimeForbidden() - Method in class de.thetaphi.forbiddenapis.Signatures
Returns if bundled signature to enable heuristics for detection of non-portable runtime calls is used
isPortableRuntimeClass(String) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns true, if the given binary class name (dotted) is part of the documented and portable Java APIs.
isRegexMeta(char) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
 
isRuntimeClass - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
isRuntimeClass(URLConnection) - Method in class de.thetaphi.forbiddenapis.Checker
 
isRuntimeModule(String) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Returns true, if the given Java 9 module name is part of the runtime (no custom 3rd party module).
isRuntimePath(URL) - Method in class de.thetaphi.forbiddenapis.Checker
 
isSupportedJDK - Variable in class de.thetaphi.forbiddenapis.Checker
 

J

JDK_SIG_PATTERN - Static variable in interface de.thetaphi.forbiddenapis.Constants
 

L

LAMBDA_META_FACTORY_INTERNALNAME - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
LAMBDA_METHOD_NAME_PREFIX - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
lambdas - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
LATEST_CLASS_VERSION - Static variable in class de.thetaphi.forbiddenapis.AsmUtils
Maximum classfile version the bundled ASM can handle.
lineNo - Variable in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
lineNo - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
loadClassFromJigsaw(String) - Method in class de.thetaphi.forbiddenapis.Checker
Loads the class from Java9's module system and uses reflection to get methods and fields.
loader - Variable in class de.thetaphi.forbiddenapis.Checker
 
location(String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
location(String) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
location(String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
location(String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
location(String) - Method in interface de.thetaphi.forbiddenapis.Reporter
 
locationInfo - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
logger - Variable in class de.thetaphi.forbiddenapis.Checker
 
logger - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
logger - Variable in class de.thetaphi.forbiddenapis.Signatures
 
Logger - Interface in de.thetaphi.forbiddenapis
 
lookup - Variable in class de.thetaphi.forbiddenapis.AncestorVisitor
 
lookup - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
lookup - Variable in class de.thetaphi.forbiddenapis.Signatures
 
lookupRelatedClass(String, String) - Method in class de.thetaphi.forbiddenapis.Checker
 
lookupRelatedClass(String, String) - Method in interface de.thetaphi.forbiddenapis.RelatedClassLookup
 

M

main(String...) - Static method in class de.thetaphi.forbiddenapis.cli.CliMain
 
makePkgPrefixPattern(String...) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
 
matches(String) - Method in class de.thetaphi.forbiddenapis.ClassPatternRule
returns true, if the given class (binary name, dotted) matches this rule.
maybeSuppressCurrentGroup(Type) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
message - Variable in class de.thetaphi.forbiddenapis.ClassPatternRule
 
metadata - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
method_Class_getModule - Variable in class de.thetaphi.forbiddenapis.Checker
 
method_Module_getName - Variable in class de.thetaphi.forbiddenapis.Checker
 
methods - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
MethodScanner(int, String, String) - Constructor for class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
missingClasses - Variable in class de.thetaphi.forbiddenapis.Checker
Related classes (binary name, dotted) which were not found while looking up class metadata [referenced (super)classes, interfaces,...]
myself - Variable in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 

N

name - Variable in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
name - Variable in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
name - Variable in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
newClassRelationAncestorVisitor(Reporter) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
normalizePath(String) - Static method in class de.thetaphi.forbiddenapis.cli.CliMain
 
normalizePattern(String) - Static method in class de.thetaphi.forbiddenapis.cli.CliMain
 
noSignaturesFilesParsed() - Method in class de.thetaphi.forbiddenapis.Checker
Returns if no signatures files / inline signatures were parsed
noSignaturesFilesParsed() - Method in class de.thetaphi.forbiddenapis.Signatures
Returns if no signatures files / inline signatures were parsed
numberOfFiles - Variable in class de.thetaphi.forbiddenapis.Signatures
number of files that were interpreted as signatures file.

O

Option() - Constructor for enum de.thetaphi.forbiddenapis.Checker.Option
 
options - Variable in class de.thetaphi.forbiddenapis.Checker
 

P

packaging - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
The project packaging (pom, jar, etc.).
ParseException - Exception in de.thetaphi.forbiddenapis
 
ParseException(String) - Constructor for exception de.thetaphi.forbiddenapis.ParseException
 
ParseException(String, Throwable) - Constructor for exception de.thetaphi.forbiddenapis.ParseException
 
parseFailed(Logger, String, String) - Method in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 
parseSignaturesFile(File) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures from the given file.
parseSignaturesFile(InputStream, String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures.
parseSignaturesFile(Reader, boolean, Set<String>) - Method in class de.thetaphi.forbiddenapis.Signatures
 
parseSignaturesFile(URL) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures from the given URL.
parseSignaturesStream(InputStream, boolean, Set<String>) - Method in class de.thetaphi.forbiddenapis.Signatures
 
parseSignaturesStream(InputStream, String) - Method in class de.thetaphi.forbiddenapis.Signatures
Reads a list of API signatures.
parseSignaturesString(String) - Method in class de.thetaphi.forbiddenapis.Checker
Reads a list of API signatures from a String.
parseSignaturesString(String) - Method in class de.thetaphi.forbiddenapis.Signatures
Reads a list of API signatures from a String.
path - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Path to resource inside JAR artifacts.
pattern - Variable in class de.thetaphi.forbiddenapis.ClassPatternRule
 
PATTERN_WILDCARD_ARGS - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
PORTABLE_RUNTIME_PACKAGE_PATTERN - Static variable in class de.thetaphi.forbiddenapis.AsmUtils
Package prefixes of documented Java API (extracted from Javadocs of Java 8).
printHelp(Options) - Method in class de.thetaphi.forbiddenapis.cli.CliMain
 
printVersion() - Method in class de.thetaphi.forbiddenapis.cli.CliMain
 
PROCEED - Enum constant in enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
 
projectRepos - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 

R

readAndPatchClass(InputStream, Logger) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
Utility method to load class files of later Java versions by patching them, so ASM can read them.
reader - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
readStream(InputStream) - Static method in class de.thetaphi.forbiddenapis.AsmUtils
This method is used to read the whole stream into byte array.
RecordComponentScanner(String, String) - Constructor for class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
REGEX_META_CHARS - Static variable in class de.thetaphi.forbiddenapis.AsmUtils
 
RelatedClassLoadingException - Exception in de.thetaphi.forbiddenapis
 
RelatedClassLoadingException(IOException, String) - Constructor for exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
RelatedClassLoadingException(ClassNotFoundException, String) - Constructor for exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
RelatedClassLoadingException(RuntimeException, String) - Constructor for exception de.thetaphi.forbiddenapis.RelatedClassLoadingException
 
RelatedClassLookup - Interface in de.thetaphi.forbiddenapis
 
releaseVersion - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
The default compiler release version used to expand references to bundled JDK signatures.
report(String, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
report(String, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
report(String, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
report(String, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
report(String, ViolationSeverity) - Method in interface de.thetaphi.forbiddenapis.Reporter
 
reportClassNotFound - Variable in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 
reporter - Variable in class de.thetaphi.forbiddenapis.AncestorVisitor
 
Reporter - Interface in de.thetaphi.forbiddenapis
 
reportMissingSignatureClasses(Set<String>) - Method in class de.thetaphi.forbiddenapis.Signatures
 
repoSession - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
repoSystem - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
resolveSignaturesArtifact(SignaturesArtifact) - Method in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
 
restrictClassFilename - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
run() - Method in class de.thetaphi.forbiddenapis.Checker
 
run() - Method in class de.thetaphi.forbiddenapis.cli.CliMain
 
RUNTIME_MODULES_PATTERN - Static variable in class de.thetaphi.forbiddenapis.AsmUtils
Pattern that matches all module names, which are shipped by default in Java.
runtimePaths - Variable in class de.thetaphi.forbiddenapis.Checker
 
runWithResults() - Method in class de.thetaphi.forbiddenapis.Checker
 

S

setBundledSignatures(String) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
A bundled signatures name
setClassname(String) - Method in class de.thetaphi.forbiddenapis.ant.SuppressAnnotationType
 
setClasspath(Path) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Classpath as classpath= attribute
setClasspathRef(Reference) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Classpath as classpathRef= attribute
setDir(File) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Sets a directory as base for class files.
setDisableClassloadingCache(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Disable the internal JVM classloading cache when getting bytecode from the classpath.
setFailOnMissingClasses(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Fail the build, if a referenced class is missing.
setFailOnUnresolvableSignatures(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
setFailOnUnsupportedJava(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Fail the build, if the bundled ASM library cannot read the class file format of the runtime library or the runtime library cannot be discovered.
setFailOnViolation(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Fail the build if violations have been found.
setGroupId(int) - Method in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
setIgnoreEmptyFileSet(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Ignore empty fileset/resource collection.
setIgnoreSignaturesOfMissingClasses(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
If a class is missing while parsing signatures files, all methods and fields from this class are silently ignored.
setName(String) - Method in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
setRestrictClassFilename(boolean) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Automatically restrict resource names included to files with a name ending in '.class'.
setSeverity(String) - Method in class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
setSignatureSeverity(String, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.Signatures
 
setSignaturesFile(File) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
A file with API signatures signaturesFile= attribute
setSignaturesSeverity(Collection<String>, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.Checker
Adjusts the severity of a specific signature.
setSignaturesSeverity(Collection<String>, ViolationSeverity) - Method in class de.thetaphi.forbiddenapis.Signatures
 
setSuppressAnnotation(String) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
Class name of annotation that suppresses error reporting in classes/methods/fields.
setTargetVersion(String) - Method in class de.thetaphi.forbiddenapis.ant.AntTask
The default compiler target version used to expand references to bundled JDK signatures.
setTargetVersion(String) - Method in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
severity - Variable in class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
severity - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
severityOverrides - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
SeverityOverrideType - Class in de.thetaphi.forbiddenapis.ant
 
SeverityOverrideType() - Constructor for class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
severityPerClassPattern - Variable in class de.thetaphi.forbiddenapis.Signatures
 
severityPerSignature - Variable in class de.thetaphi.forbiddenapis.Signatures
Key is used to lookup forbidden signature in following formats.
SIGNATURE_POLYMORPHIC_DESCRIPTOR - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
SIGNATURE_POLYMORPHIC_PKG_INTERNALNAME - Static variable in interface de.thetaphi.forbiddenapis.Constants
 
signaturePolymorphicMethods - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
signatures - Variable in class de.thetaphi.forbiddenapis.ant.SeverityOverrideType
 
signatures - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Gives a multiline list of signatures, inline in the pom.xml.
signatures - Variable in class de.thetaphi.forbiddenapis.Signatures
Key is used to lookup forbidden signature in following formats.
Signatures - Class in de.thetaphi.forbiddenapis
Utility class that is used to get an overview of all fields and implemented methods of a class.
Signatures(Checker) - Constructor for class de.thetaphi.forbiddenapis.Signatures
 
Signatures(RelatedClassLookup, Logger, boolean, boolean, boolean) - Constructor for class de.thetaphi.forbiddenapis.Signatures
 
Signatures.UnresolvableReporting - Enum in de.thetaphi.forbiddenapis
 
SignaturesArtifact - Class in de.thetaphi.forbiddenapis.maven
Defines coordinates of a Maven artifact that provides signatures files.
SignaturesArtifact() - Constructor for class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
 
signaturesArtifacts - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Lists all Maven artifacts, which contain signatures and comments for forbidden API calls.
signaturesfileOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
signaturesFiles - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Lists all files, which contain signatures and comments for forbidden API calls.
SignaturesResources - Class in de.thetaphi.forbiddenapis.ant
Custom implementation of Resources to allow adding bundled signatures.
SignaturesResources(AntTask) - Constructor for class de.thetaphi.forbiddenapis.ant.SignaturesResources
 
signaturesWithSeveritySuppress - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Specifies a list of forbidden API signatures for which violations should not be reported at all (i.e.
signatureswithseveritysuppressOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
signaturesWithSeverityWarn - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Specifies a list of forbidden API signatures for which violations should lead to a warning only (i.e.
signatureswithseveritywarnOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
SILENT - Enum constant in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 
skip - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
Skip entire check.
source - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
sourceFile - Variable in class de.thetaphi.forbiddenapis.CheckerResult
 
start - Variable in class de.thetaphi.forbiddenapis.Checker
 
StdIoLogger - Class in de.thetaphi.forbiddenapis
 
StdIoLogger(boolean) - Constructor for class de.thetaphi.forbiddenapis.StdIoLogger
 
STOP - Enum constant in enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
 
streamReadClassToCheck(InputStream, String) - Method in class de.thetaphi.forbiddenapis.Checker
Parses and adds a class from the given stream to the list of classes to check.
superName - Variable in class de.thetaphi.forbiddenapis.ClassMetadata
 
SUPPRESS - Enum constant in enum de.thetaphi.forbiddenapis.ViolationSeverity
 
suppressAnnotations - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
suppressAnnotations - Variable in class de.thetaphi.forbiddenapis.Checker
descriptors (not internal names) of all annotations that suppress
suppressAnnotations - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
suppressAnnotations - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
List of a custom Java annotations (full class names) that are used in the checked code to suppress errors.
suppressannotationsOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
SuppressAnnotationType - Class in de.thetaphi.forbiddenapis.ant
 
SuppressAnnotationType() - Constructor for class de.thetaphi.forbiddenapis.ant.SuppressAnnotationType
 
suppressedGroups - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
SuppressForbidden - Annotation Type in de.thetaphi.forbiddenapis
Default annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.

T

targetMethod - Variable in class de.thetaphi.forbiddenapis.ForbiddenViolation
 
targetVersion - Variable in class de.thetaphi.forbiddenapis.ant.AntTask
 
targetVersion - Variable in class de.thetaphi.forbiddenapis.ant.BundledSignaturesType
 
targetVersion - Variable in class de.thetaphi.forbiddenapis.maven.AbstractCheckMojo
The default compiler target version used to expand references to bundled JDK signatures.
task - Variable in class de.thetaphi.forbiddenapis.ant.SignaturesResources
 
TestCheckMojo - Class in de.thetaphi.forbiddenapis.maven
Mojo to check if no project generated class files (test scope) contain calls to forbidden APIs from the project classpath and a list of API signatures (either inline or as pointer to files or bundled signatures).
TestCheckMojo() - Constructor for class de.thetaphi.forbiddenapis.maven.TestCheckMojo
 
testReleaseVersion - Variable in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
The default compiler release version used to expand references to bundled JDK signatures.
testTargetVersion - Variable in class de.thetaphi.forbiddenapis.maven.TestCheckMojo
The default compiler target version used to expand references to bundled JDK signatures.
toString() - Method in class de.thetaphi.forbiddenapis.ClassPatternRule
 
type - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Type (required; txt or jar).

U

UnresolvableReporting(boolean) - Constructor for enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 

V

valueOf(String) - Static method in enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.thetaphi.forbiddenapis.Checker.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.thetaphi.forbiddenapis.ViolationSeverity
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.thetaphi.forbiddenapis.Checker.Option
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.thetaphi.forbiddenapis.ViolationSeverity
Returns an array containing the constants of this enum type, in the order they are declared.
version - Variable in class de.thetaphi.forbiddenapis.maven.SignaturesArtifact
Version (required)
VERSION_COMPARATOR - Static variable in class de.thetaphi.forbiddenapis.VersionCompare
 
VersionCompare - Class in de.thetaphi.forbiddenapis
Simple version comparator (to support downgrading versions in bundled-signatures names).
VersionCompare() - Constructor for class de.thetaphi.forbiddenapis.VersionCompare
 
versionOpt - Variable in class de.thetaphi.forbiddenapis.cli.CliMain
 
VIOLATION - Enum constant in enum de.thetaphi.forbiddenapis.AncestorVisitor.AncestorVisitorResult
 
violations - Variable in class de.thetaphi.forbiddenapis.CheckerResult
 
violations - Variable in class de.thetaphi.forbiddenapis.ClassScanner
 
ViolationSeverity - Enum in de.thetaphi.forbiddenapis
 
ViolationSeverity() - Constructor for enum de.thetaphi.forbiddenapis.ViolationSeverity
 
visit(int, int, String, String, String, String[]) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visit(ClassMetadata, String, boolean, boolean) - Method in class de.thetaphi.forbiddenapis.AncestorVisitor
 
visitAncestors(ClassMetadata, boolean, boolean) - Method in class de.thetaphi.forbiddenapis.AncestorVisitor
 
visitAncestorsRecursive(ClassMetadata, String, boolean, boolean) - Method in class de.thetaphi.forbiddenapis.AncestorVisitor
 
visitAnnotation(String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
visitAnnotation(String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitAnnotation(String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
visitAnnotation(String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitEnd() - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitField(int, String, String, String, Object) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitFieldInsn(int, String, String, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitInsnAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitInterfacesRecursive(ClassMetadata, String, boolean, boolean) - Method in class de.thetaphi.forbiddenapis.AncestorVisitor
 
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitLdcInsn(Object) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitLineNumber(int, Label) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitLocalVariableAnnotation(int, TypePath, Label[], Label[], int[], String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitMethod(int, String, String, String, String[]) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitMethodInsn(int, String, String, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitMultiANewArrayInsn(String, int) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitParameterAnnotation(int, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitRecordComponent(String, String, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitSource(String, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitSuperclassRecursive(ClassMetadata, String, boolean, boolean) - Method in class de.thetaphi.forbiddenapis.AncestorVisitor
 
visitTryCatchAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.FieldScanner
 
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
 
visitTypeAnnotation(int, TypePath, String, boolean) - Method in class de.thetaphi.forbiddenapis.ClassScanner
 
visitTypeInsn(int, String) - Method in class de.thetaphi.forbiddenapis.ClassScanner.MethodScanner
 

W

warn(String) - Method in interface de.thetaphi.forbiddenapis.Logger
 
warn(String) - Method in class de.thetaphi.forbiddenapis.StdIoLogger
 
WARNING - Enum constant in enum de.thetaphi.forbiddenapis.Signatures.UnresolvableReporting
 
WARNING - Enum constant in enum de.thetaphi.forbiddenapis.ViolationSeverity
 
WILDCARD_ARGS - Static variable in class de.thetaphi.forbiddenapis.Signatures
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form