|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ bcel overview ] | PREV NEXT | ||||||||
A
- AbstractCheckVisitor - class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor.
- Abstract class for checks with visitors.
- AbstractCheckVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- addFieldReference(FieldReference) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Adds an field reference to the reference DAO.
- addFieldScope(Scope) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Includes a scope in the scope for checking field references.
- addInvokeReference(InvokeReference) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Adds an invoke reference to the reference DAO.
- addMethodScope(Scope) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Includes a scope in the scope for checking method references.
C
- ClassFileSetCheck - class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck.
- Checks a set of class files using BCEL
- ClassFileSetCheck() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Creates a new
ClassFileSetCheckinstance. - com.puppycrawl.tools.checkstyle.bcel - package com.puppycrawl.tools.checkstyle.bcel
D
- destroy() - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- Destroy the check.
E
- EmptyClassFileVisitor - class com.puppycrawl.tools.checkstyle.bcel.EmptyClassFileVisitor.
- Default classfile visitor.
- EmptyClassFileVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.EmptyClassFileVisitor
- restrict client creation
- EmptyDeepVisitor - class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor.
- Default deep visitor
- EmptyDeepVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- EmptyGenericVisitor - class com.puppycrawl.tools.checkstyle.bcel.EmptyGenericVisitor.
- Default generic visitor
- EmptyGenericVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.EmptyGenericVisitor
- Restrict client creation
- extractJavaClasses(File[]) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Gets the set of all JavaClasses within a set of Files.
- extractJavaClasses(File) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Extracts the JavaClasses from .class, .zip, and .jar files.
F
- findJavaClassDef(JavaClass) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Finds the JavaClassDefinition for a given JavaClass.
- finishLocalSetup() - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- fireErrors() - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Notify all listeners about the errors in a file.
G
- getClassFileVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- getClassFileVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- getClassFileVisitor() - Method in interface com.puppycrawl.tools.checkstyle.bcel.IDeepVisitor
- Returns the classfile visitor.
- getGenericVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- getGenericVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- getGenericVisitor() - Method in interface com.puppycrawl.tools.checkstyle.bcel.IDeepVisitor
- Returns the generic visitor.
- getInstance() - Static method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Returns the singleton ReferencesVisitor
- getObjectSetVisitors() - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Gets the set of all visitors for all the checks.
- getReferenceDAO() - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- Gets the reference DAO.
- getTreeVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Gets the visitor for a parse tree walk.
- getVisitor() - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- Gets the deep BCEL visitor.
I
- IDeepVisitor - interface com.puppycrawl.tools.checkstyle.bcel.IDeepVisitor.
- Deep visitor for classfile and generic traversals.
- IObjectSetVisitor - interface com.puppycrawl.tools.checkstyle.bcel.IObjectSetVisitor.
- Object set visitor for a general set.
- init() - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- Initialse the check.
J
- JavaClassWalker - class com.puppycrawl.tools.checkstyle.bcel.JavaClassWalker.
- Walks a JavaClass parse tree.
- JavaClassWalker() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.JavaClassWalker
L
- leaveObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- leaveObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- leaveObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- leaveObject(Object) - Method in interface com.puppycrawl.tools.checkstyle.bcel.IObjectSetVisitor
- Finish the visit an object.
- leaveSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- leaveSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- leaveSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- leaveSet(Set) - Method in interface com.puppycrawl.tools.checkstyle.bcel.IObjectSetVisitor
- Finish the visit of a set.
- log(int, String, Object[]) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- Log an error message.
- log(int, int, String, Object[]) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
M
- mAllChecks - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- all the registered checks
- mChildContext - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- context of child components
- mClassFileVisitor - Variable in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- the classfile visitor
- mClassLoader - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- class loader to resolve classes with.
- mCurrentPoolGen - Variable in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- access to current constant pool
- mFieldScopes - Variable in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- scope for checking field references
- mGenericVisitor - Variable in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- the generic visitor
- mMessages - Variable in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- the object for collecting messages.
- mMethodScopes - Variable in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- scope for checking method references
- mModuleFactory - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- a factory for creating submodules (i.e.
- mObjectSetVisitors - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- all visitors for IObjectSetVisitor visits
- mReferenceDAO - Variable in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- maps a JavaClass to a JavaClassDefinition
- mTreeVisitors - Variable in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- visitors for BCEL parse tree walk
- mVisitor - Variable in class com.puppycrawl.tools.checkstyle.bcel.JavaClassWalker
- visitor to be accepted during a traversal
- mVisitors - Variable in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- the managed visitors
P
- process(File[]) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
R
- ReferenceVisitor - class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.
- Records references during a deep parse tree traversal.
- ReferenceVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- prevent client construction
- ReferenceVisitor.GenericVisitor - class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor.
- Adds a reference when it visits an instruction that invokes a method or references a field.
- ReferenceVisitor.GenericVisitor() - Constructor for class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- registerCheck(AbstractCheckVisitor) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Register a check.
- registerVisitors() - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Registers all the visitors for IObjectSetVisitor visits, and for tree walk visits.
S
- sInstance - Static variable in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- singleton
- setClassFileVisitor(Visitor) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- Sets the classfile visitor.
- setClassLoader(ClassLoader) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Stores the class loader and makes it the Repository's class loader.
- setGenericVisitor(Visitor) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- Sets the generic visitor.
- setMessages(LocalizedMessages) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- Set the global object used to collect messages.
- setModuleFactory(ModuleFactory) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Sets the module factory for creating child modules (Checks).
- setVisitor(Visitor) - Method in class com.puppycrawl.tools.checkstyle.bcel.JavaClassWalker
- Sets a visitor to be accepted during a traversal.
- setupChild(Configuration) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- Instantiates, configures and registers a Check that is specified in the provided configuration.
V
- VisitorSet - class com.puppycrawl.tools.checkstyle.bcel.VisitorSet.
- Manages a set of visitors that are accepted by nodes visited by a VisitorSet.
- VisitorSet(Set) - Constructor for class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- Creates a
VisitorSetfor a set of visitors. - visitCode(Code) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitConstantPool(ConstantPool) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitField(Field) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitGETFIELD(GETFIELD) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitGETSTATIC(GETSTATIC) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitINVOKESPECIAL(INVOKESPECIAL) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitINVOKESTATIC(INVOKESTATIC) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitINVOKEVIRTUAL(INVOKEVIRTUAL) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitInstructionHandle(InstructionHandle) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- Deep visit of an InstructionHandle
- visitJavaClass(JavaClass) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitLocalVariable(LocalVariable) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitMethod(Method) - Method in class com.puppycrawl.tools.checkstyle.bcel.VisitorSet
- visitObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- visitObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- visitObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- visitObject(Object) - Method in interface com.puppycrawl.tools.checkstyle.bcel.IObjectSetVisitor
- Visit an object.
- visitObject(Object) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
- visitPUTFIELD(PUTFIELD) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitPUTSTATIC(PUTSTATIC) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor.GenericVisitor
- visitSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.AbstractCheckVisitor
- visitSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.ClassFileSetCheck
- visitSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.EmptyDeepVisitor
- visitSet(Set) - Method in interface com.puppycrawl.tools.checkstyle.bcel.IObjectSetVisitor
- Visit a set itself.
- visitSet(Set) - Method in class com.puppycrawl.tools.checkstyle.bcel.ReferenceVisitor
W
- walk(JavaClass) - Method in class com.puppycrawl.tools.checkstyle.bcel.JavaClassWalker
- Traverses a JavaClass parse tree and accepts all registered visitors.
A C D E F G I J L M P R S V W
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ bcel overview ] | PREV NEXT | ||||||||