Class ModuleDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration
org.jd.core.v1.model.javasyntax.declaration.ModuleDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>, BaseMemberDeclaration, BaseTypeDeclaration, Declaration, MemberDeclaration, Base<MemberDeclaration>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ModuleDeclaration.PackageInfo> protected List<ModuleDeclaration.PackageInfo> protected List<ModuleDeclaration.ServiceInfo> protected List<ModuleDeclaration.ModuleInfo> protected StringFields inherited from class TypeDeclaration
annotationReferences, bodyDeclaration, flags, internalTypeName, nameFields inherited from interface Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE -
Constructor Summary
ConstructorsConstructorDescriptionModuleDeclaration(int flags, String internalName, String name, String version, List<ModuleDeclaration.ModuleInfo> requires, List<ModuleDeclaration.PackageInfo> exports, List<ModuleDeclaration.PackageInfo> opens, List<String> uses, List<ModuleDeclaration.ServiceInfo> provides) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DeclarationVisitor visitor) getOpens()getUses()toString()Methods inherited from class TypeDeclaration
getAnnotationReferences, getBodyDeclaration, getFlags, getInternalTypeName, getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
version
-
requires
-
exports
-
opens
-
uses
-
provides
-
-
Constructor Details
-
ModuleDeclaration
public ModuleDeclaration(int flags, String internalName, String name, String version, List<ModuleDeclaration.ModuleInfo> requires, List<ModuleDeclaration.PackageInfo> exports, List<ModuleDeclaration.PackageInfo> opens, List<String> uses, List<ModuleDeclaration.ServiceInfo> provides)
-
-
Method Details
-
getVersion
-
getRequires
-
getExports
-
getOpens
-
getUses
-
getProvides
-
accept
-
toString
-