Package aQute.bnd.osgi
Class Clazz
java.lang.Object
aQute.bnd.osgi.Clazz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Deprecated.class
Deprecated.class
class
static enum
class
static class
static enum
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumSet<Clazz.QUERY>
static final Comparator<Clazz>
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotations
(String binaryNameFilter) fields()
int
getFQN()
getMethodDef
(int access, String name, String descriptor) Deprecated.getSuper()
boolean
boolean
is
(Clazz.QUERY query, Instruction instr, Analyzer analyzer) boolean
boolean
boolean
boolean
isEnum()
boolean
isFinal()
boolean
boolean
boolean
isModule()
boolean
boolean
isPublic()
boolean
methods()
static String
objectDescriptorToFQN
(String string) void
parseDescriptor
(String descriptor, int modifiers) Deprecated.void
reset()
Deprecated.void
setDeprecated
(boolean b) Deprecated.void
setInnerAccess
(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
-