|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> usage >> [ transmogrify overview ] | PREV NEXT | ||||||||
A
- ASTManager - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager.
- Manages AST trees and nodes.
- ASTManager() - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- prevent client creation
- ASTUtil - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil.
ASTUtilis aUtility Classthat contains utility code for managing our SymTabAST.- ASTUtil() - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- AnonymousInnerClass - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.AnonymousInnerClass.
- AnonymousInnerClass(SymTabAST, SymTabAST, Scope) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.AnonymousInnerClass
- ArrayDef - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef.
- ArrayDef(IClass) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- ArrayLengthMember - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayLengthMember.
- ArrayLengthMember() - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayLengthMember
- addDefinition(IPackage) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BaseScope
- addDefinition(MethodDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- addDefinition(IPackage) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
- addDefinition(IPackage) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalPackage
- addDefinition(IPackage) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IPackage
- adds a package definition to its parent's list of package definitions
- addDefinition(IPackage) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PackageDef
- addDefinition(VariableDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addDefinition(BlockDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addDefinition(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addDefinition(LabelDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addDefinition(IPackage) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addException() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultConstructor
- addException(IClass) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodDef
- Adds an exception that this method throws.
- addImplementor(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- addImplementor(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- addImplementor(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- addImplementor(ClassDef) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- adds
ClassDefto the collection of implemented interfaces of this class - addImplementor(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- addImplementor(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- adds
ClassDefto the collection of implemented interfaces of this class - addImports() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.ClassFinisher
- Adds all packages and classes that are imported by this class to the class for later reference
- addInterface(IClass) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- addInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.ClassFinisher
- If the class implements an interface a reference to this interface is added to this class.
- addParameter() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultConstructor
- addParameter(VariableDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodDef
- Adds a parameter to the collection of formal parameters
- addReference(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- addReference(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- Adds a
Referenceto the collection ofReferences - addReference(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition
- addReference(Reference) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IDefinition
- adds any reference that this definition have to its collection of
_references - addReference(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- addReference(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- addReferenceInScope(Reference) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- addScope(Scope) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ScopeIndex
- adds a
Scopeto theScopeIndexfor searching. - addSubclass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- addSubclass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- addSubclass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- addSubclass(ClassDef) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- adds
ClassDefto the collection of (direct?) subclasses of this class - addSubclass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- addSubclass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- adds
ClassDefto the collection of (direct?) subclasses of this class - addToCompleteTree(File, AST) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Adds a file and a DetailAST to the root SymTabAST tree.
- addTree(String, AST) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Add the parse tree for a file to the set of parse trees.
- addUnprocessedImports(Vector) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
B
- BOOLEAN - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- BYTE - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- BaseScope - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BaseScope.
- the bottom scope of the scope stack, contains some extra information to make resolution easier.
- BaseScope(SymbolTable) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BaseScope
- BlockDef - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BlockDef.
BlockDefis aScopewhich contains information about everything that defines a nameless block of java code.- BlockDef(Scope, SymTabAST) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BlockDef
- baseScope - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- binaryPromote(IClass, IClass) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- binaryResultType(IClass, IClass) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Resolver
- Returns the
ClassDeffor the type to which arithmetic expressions evaluate. - buildTree() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Builds the complete tree for all added parse trees.
C
- CHAR - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- ClassDef - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef.
ClassDefcontains all the information needed to represent a java class or interface.- ClassDef(String, Scope, SymTabAST) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- ClassImportException - exception com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassImportException.
- ClassImportException(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassImportException
- ClassManager - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassManager.
- ClassManager() - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassManager
- classMap - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.LiteralResolver
- classes - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- clearDetailsMap() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Clears all associations from DetailsASTs to SymTabASTs.
- clearImports() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- clears the
importsmember - collectUnderreferencedDefinitions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ReferenceThreshold
- com.puppycrawl.tools.checkstyle.checks.usage.transmogrify - package com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
- Contains the Usage checks that are bundled with the main distribution.
- compare(Object, Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodSpecificityComparator
- compareTo(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- compareTo(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Occurrence
- compareTo(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- compose(Span) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- constructClass(SymTabAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- Returns the top Class name in the hierarchy represented by the SymTabAST.
- constructDottedName(SymTabAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- Builds the dotted name String representation of the object contained within the SymTabAST.
- constructPackage(SymTabAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- Returns the Package name in the hierarchy represented by the SymTabAST.
- contains(Span) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- contains(int, int) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- countReferences() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ReferenceCounter
- create(int, String) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabASTFactory
- Creates a
SymTabASTwith a given type and text. - create(AST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabASTFactory
- Creates an
SymTabASTfrom a givenAST. - createDefinitions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- walks the tree and finishes creating definitions.
- createExceptionVariable() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.CatchFinisher
- creates
VariableDefand finishes creation definition for arguments in the catch clause- createPackage(SymTabAST) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- gets the package represented by the tree.
- currentFile - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- currentFile - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- currentLine - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
D
- DEFAULT_VISIBILITY - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.VariableDef
- DOUBLE - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- DefaultConstructor - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultConstructor.
- DefaultConstructor(ClassDef) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultConstructor
- DefaultScope - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope.
- DefaultScope(String, Scope, SymTabAST) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
- Definition - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition.
Definitioncontains basic information for everything that is defined in a java source file.- Definition(String, Scope, SymTabAST) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- DefinitionTraverser - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefinitionTraverser.
- DefinitionTraverser(SymbolTable) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefinitionTraverser
- DotIterator - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DotIterator.
- An iterator for dot ('.') delimited tokens.
- DotIterator(SymTabAST) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DotIterator
- defineBlock(BlockDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- defines a block within the symbol table
- defineClass(ClassDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- defines a class in the symbol table.
- defineLabel(LabelDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- defines a label within the symbol table
- defineMethod(MethodDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- defines a method in the symbol table
- definePackage(PackageDef, Scope) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- adds
PackageDefto its parent scope and stores thePackageDefinpackages - defineVariable(VariableDef) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- defines a variable in the symbol table
- detailNode - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- original syntax tree node
E
- ExternalClass - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass.
- ExternalClass(Class) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- ExternalConstructor - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor.
- ExternalConstructor(Constructor) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor
- ExternalDefinition - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition.
- ExternalDefinition() - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition
- ExternalMethod - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod.
MethodDefcontains all the pertinent information for a method, including return type, formal parameters, and exceptions thrown- ExternalMethod(Method) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod
- ExternalPackage - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalPackage.
PackageDefcontains all pertinent information about a package.- ExternalPackage(String, IPackage) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalPackage
- ExternalSignature - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalSignature.
- ExternalSignature(Class[]) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalSignature
- ExternalVariable - class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalVariable.
VariableDefis aDefinitionthat contains information about the definition of a variable.- ExternalVariable(Field) - Constructor for class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalVariable
- elements - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- endsAfter(Span) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultConstructor
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.InterfaceConstructor
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodSignature
- compares two objects for equality.
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Occurrence
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- returns whether the
References are equal - equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- equals(Object) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- exceptions - Variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodDef
F
- FLOAT - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PrimitiveClasses
- factory - Static variable in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabASTFactory
- singleton factory
- findFirstToken(int) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- Gets first occurence of the child node with a certain type
- findOrLoadClass(String, IClass) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.ClassFinisher
- find a class from
BaseCodeor its parent - findScope(Vector, Occurrence) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ScopeIndex
- returns the most specific
Scopeto which the specifiedOccurencebelongs from the specifiedVectorofScopes. - finish() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.CatchFinisher
- finishes definition creation
- finish() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.ClassFinisher
- Completes all tasks required for finishing a ClassDef Including adding imports, setting super classes and adding interfaces.
- finish() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.DefinitionFinisher
- finish() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.MethodFinisher
- Completes a method by setting all references to return types, signatures and exceptions.
- finish() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker.VariableFinisher
- Finishes the variable by setting the Type
- finishChildren(File) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- finishes children of this node definition process
- finishCreatingChildren(Scope) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- iterates through all the definitions in the
Scopefinishes creating eachScope. - finishCreatingDefinition(Definition) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- begins at the base of the Table and starts finishing definition creation.
- finishCreatingDefinitions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- finishes up creating definitions process starts at the base of the Table
- finishDefinition(File, SymTabAST) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- finishes process for adding node to its parent
- finishMakingDefinition() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.AnonymousInnerClass
G
- get(AST) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Gets the SymTabAST associated with a AST.
- getASTNode(IClass) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.LiteralResolver
- getBaseScope() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- returns the "base" scope
- getCheckNodes(AbstractUsageCheck) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Gets the nodes to check with a usage check.
- getChildren() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- Gets Iterator for this node
- getClass(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalPackage
- getClass(String) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IPackage
- return class definition associated with this package
- getClass(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PackageDef
- getClassConstructor(ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BaseScope
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getClassDefinition(String) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- gets class definition referenced by this class, including its inner classes, imported classes, packages, and its parent scope referenced class definitions
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- getClassDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- getClassLoader() - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassManager
- getClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- getColumn(SymTabAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- gets a column number for the tree; if the current SymTabAST node does not have one associated with it, traverse its children until a column number is found.
- getColumn() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Occurrence
- returns the column that this token starts at
- getColumn() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- gets the column for where the node resides
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- gets the column where this node reside
- getConstructorDefinition(ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getCurrentFile() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- gets the file that the symbol table is currently processing
- getCurrentScope() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymbolTable
- returns the current scope.
- getDeclaredMethod(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getDefinition(int) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.LiteralResolver
- Returns the
ClassDeffor a primitive type reference. - getDefinition(String) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.LiteralResolver
- getDefinition(String, Occurrence) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.QueryEngine
- gets the definition of the given symbol
- getDefinition(Occurrence) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.QueryEngine
- getDefinition() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- gets the definition associated with this reference
- getDefinition() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- gets
_definitin - getDefinitions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getDefinitions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- getDetailNode() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- Returns the DetailAST associated with this node.
- getEnclosingClass() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getEnclosingClass() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- Returns the
ClassDefthat this scope is contained in. - getEnclosingNode(int, int) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- gets enclosing node for this node based on line and column
- getEnclosingPackage() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- getEnclosingPackage() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalPackage
- getEnclosingPackage() - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IPackage
- gets the Package definition of itself
- getEnclosingPackage() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PackageDef
- getEndColumn() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- getEndLine() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Span
- getExceptions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor
- getExceptions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod
- getExceptions() - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IMethod
- getExceptions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.InterfaceConstructor
- getExceptions() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.MethodDef
- Returns the exceptions this method throws
- getExtendsNode(ClassDef) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.TableMaker
- returns the
SymTabASTthat contains the parameter classDef's extends nodes - getFile() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Occurrence
- returns the File of this
Occurrence - getFile() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- gets the enclosing file for the node
- getFile() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- gets file where this node belongs to
- getFileNode(SymTabAST, File) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- getFileNode(File) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.QueryEngine
- getFileVector(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ScopeIndex
- returns the
Vectorcontaining theScopes related to the specified filename. - getFirstChild() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- getImplementors() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getImplementors() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getImplementors() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getImplementors() - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- gets the list of
ClassDefsthat implmement this interface - getImplementors() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- getImplementors() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- gets the list of
ClassDefsthat implmement this interface - getIndex() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ScopeIndex
- getInnerClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getInnerClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getInnerClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getInnerClasses() - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- gets inner classes definition associated with this class
- getInnerClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- getInnerClasses() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- getInstance() - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTManager
- Returns the singleon ASTManager.
- getInterfaceConstructor(ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getInterfaces() - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- gets interfaces definition implemented by this class definition
- getInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- getInterfaces() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- getJavaClass() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getJavaConstructor() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor
- getJavaConstructor() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.InterfaceConstructor
- getJavaMethod() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod
- getLabelDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
- getLabelDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.PackageDef
- getLabelDefinition(String) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- getLine(SymTabAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ASTUtil
- gets a line number for the tree; if the current SymTabAST node does not have one associated with it, traverse its children until a line number is found.
- getLine() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Occurrence
- returns the line number of this
Occurrence - getLine() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Reference
- gets the line where the node resides
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
- gets the line where this node reside
- getLocalName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getMethodDefinition(String, ISignature) - Method in interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IClass
- gets the method associated with the given name and signature
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.NullClass
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
- getMethodDefinition(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.UnknownClass
- gets the method associated with the given name and signature
- getMethods() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getMostCompatibleMethod(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ClassDef
- getMostCompatibleMethod(String, ISignature) - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayDef
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ArrayLengthMember
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
- returns the name of the definition
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalClass
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalConstructor
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalMethod
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.