public class StubBuildingVisitor<T>
extends ClassVisitor
Modifier and Type | Field and Description |
---|---|
static Function<java.lang.String,java.lang.String> |
GUESSING_MAPPER |
Constructor and Description |
---|
StubBuildingVisitor(T classSource,
InnerClassSourceStrategy<T> innersStrategy,
StubElement parent,
int access,
java.lang.String shortName) |
StubBuildingVisitor(T classSource,
InnerClassSourceStrategy<T> innersStrategy,
StubElement parent,
int access,
java.lang.String shortName,
boolean anonymousInner,
boolean localClassInner) |
Modifier and Type | Method and Description |
---|---|
static AnnotationVisitor |
getAnnotationTextCollector(java.lang.String desc,
Consumer<? super java.lang.String> consumer) |
PsiClassStub<?> |
getResult() |
void |
visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces) |
AnnotationVisitor |
visitAnnotation(java.lang.String desc,
boolean visible) |
FieldVisitor |
visitField(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.Object value) |
void |
visitInnerClass(java.lang.String name,
java.lang.String outerName,
java.lang.String innerName,
int access) |
MethodVisitor |
visitMethod(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions) |
void |
visitOuterClass(java.lang.String owner,
java.lang.String name,
java.lang.String desc) |
void |
visitSource(java.lang.String source,
java.lang.String debug) |
public static final Function<java.lang.String,java.lang.String> GUESSING_MAPPER
public StubBuildingVisitor(T classSource, InnerClassSourceStrategy<T> innersStrategy, StubElement parent, int access, java.lang.String shortName)
public StubBuildingVisitor(T classSource, InnerClassSourceStrategy<T> innersStrategy, StubElement parent, int access, java.lang.String shortName, boolean anonymousInner, boolean localClassInner)
public PsiClassStub<?> getResult()
public void visit(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)
public void visitSource(java.lang.String source, java.lang.String debug)
public void visitOuterClass(java.lang.String owner, java.lang.String name, java.lang.String desc)
public AnnotationVisitor visitAnnotation(java.lang.String desc, boolean visible)
public void visitInnerClass(java.lang.String name, java.lang.String outerName, java.lang.String innerName, int access)
public FieldVisitor visitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
public MethodVisitor visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
public static AnnotationVisitor getAnnotationTextCollector(java.lang.String desc, Consumer<? super java.lang.String> consumer)