Package aQute.bnd.osgi
Class Clazz
java.lang.Object
aQute.bnd.osgi.Clazz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.classDeprecated.classclassstatic enumclassstatic classstatic enumclass -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumSet<Clazz.QUERY>static final Comparator<Clazz>static final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations(String binaryNameFilter) fields()intgetFQN()getMethodDef(int access, String name, String descriptor) Deprecated.getSuper()booleanbooleanis(Clazz.QUERY query, Instruction instr, Analyzer analyzer) booleanbooleanbooleanbooleanisEnum()booleanisFinal()booleanbooleanbooleanisModule()booleanbooleanisPublic()booleanmethods()static StringobjectDescriptorToFQN(String string) voidparseDescriptor(String descriptor, int modifiers) Deprecated.voidreset()Deprecated.voidsetDeprecated(boolean b) Deprecated.voidsetInnerAccess(int access) Deprecated.toString()typeAnnotations(String binaryNameFilter) static String
-
Field Details
-
HAS_ARGUMENT
-
NAME_COMPARATOR
-
TYPEUSE_INDEX_NONE
public static final int TYPEUSE_INDEX_NONE- See Also:
-
TYPEUSE_TARGET_INDEX_EXTENDS
public static final int TYPEUSE_TARGET_INDEX_EXTENDS- See Also:
-
-
Constructor Details
-
Clazz
-
-
Method Details
-
parseClassFile
- Throws:
Exception
-
parseClassFile
- Throws:
Exception
-
parseClassFileWithCollector
- Throws:
Exception
-
parseClassFile
public Set<Descriptors.TypeRef> parseClassFile(InputStream in, ClassDataCollector cd) throws Exception - Throws:
Exception
-
fields
-
methods
-
parseDescriptor
Deprecated.This method parses method or field descriptors and callsreferTo(TypeRef, int)for any types found therein.- Parameters:
descriptor- The to be parsed descriptormodifiers-- See Also:
-
- "https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.3"
-
getReferred
-
getAbsolutePath
-
reset
Deprecated. -
is
- Throws:
Exception
-
toString
-
isPublic
public boolean isPublic() -
isProtected
public boolean isProtected() -
isEnum
public boolean isEnum() -
isSynthetic
public boolean isSynthetic() -
isModule
public boolean isModule() -
getFormat
-
objectDescriptorToFQN
-
unCamel
-
isInterface
public boolean isInterface() -
isAbstract
public boolean isAbstract() -
hasPublicNoArgsConstructor
public boolean hasPublicNoArgsConstructor() -
getAccess
public int getAccess() -
setInnerAccess
Deprecated. -
annotations
-
typeAnnotations
-
getClassName
-
isInnerClass
public boolean isInnerClass() -
getMethodDef
Deprecated. -
getSuper
-
getFQN
-
getInterfaces
-
interfaces
-
annotations
-
isFinal
public boolean isFinal() -
setDeprecated
Deprecated. -
isDeprecated
public boolean isDeprecated() -
isAnnotation
public boolean isAnnotation() -
getAPIUses
-
getExtends
-
getImplements
-
getClassSignature
-
getSourceFile
-
getDefaults
- Throws:
Exception
-
getResource
-