Package org.jboss.jandex
Class ModuleInfo
java.lang.Object
org.jboss.jandex.ModuleInfo
Represents a module descriptor entry in an index.
Thread-Safety
This class is immutable and can be shared between threads without safe publication.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionfinal AnnotationInstanceannotation(DotName name) final Collection<AnnotationInstance>final List<AnnotationInstance>annotationsWithRepeatable(DotName name, IndexView index) exports()shortflags()Returns the access flags for this class.final booleanhasAnnotation(DotName name) booleanisOpen()name()Returns the name of the classopens()packages()provides()requires()toString()uses()version()
-
Method Details
-
toString
-
moduleInfoClass
-
name
Returns the name of the class- Returns:
- the name of the class
-
flags
public short flags()Returns the access flags for this class. The standardModifiercan be used to decode the value.- Returns:
- the access flags
-
isOpen
public boolean isOpen() -
version
-
mainClass
-
requires
-
exports
-
opens
-
uses
-
provides
-
packages
-
hasAnnotation
-
annotation
-
annotationsWithRepeatable
-
annotations
-