# Uses of Interface
org.codehaus.janino.Java.Modifier

Packages that use Java.Modifier
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.
org.codehaus.janino.util
Application-independent helper classes.

## Uses of Java.Modifier in org.codehaus.janino

Subinterfaces of Java.Modifier in org.codehaus.janino
Modifier and Type
Interface
Description
`static interface`
`Java.Annotation`
Representation of a Java annotation.
Classes in org.codehaus.janino that implement Java.Modifier
Modifier and Type
Class
Description
`static class`
`Java.AbstractAnnotation`
Convenience class.
`static class`
`Java.AccessModifier`
Representation of the modifier flags and annotations that are associated with a declaration.
`static final class`
`Java.MarkerAnnotation`
Representation of a "marker annotation", i.e.
`static final class`
`Java.NormalAnnotation`
A "normal annotation", i.e.
`static final class`
`Java.SingleElementAnnotation`
Representation of a "single-element annotation", i.e.
Fields in org.codehaus.janino declared as Java.Modifier
Modifier and Type
Field
Description
`final Java.Modifier[]`
Java.AbstractTypeBodyDeclaration.`modifiers`
The `Java.Modifier`s of this declaration.
`final Java.Modifier[]`
Java.FieldDeclaration.`modifiers`
The modifiers of this field declaration.
`final Java.Modifier[]`
Java.FunctionDeclarator.FormalParameter.`modifiers`
The `Java.Modifier`s of this parameter declaration.
`final Java.Modifier[]`
Java.LocalVariableDeclarationStatement.`modifiers`
The local variable modifiers (annotations and/or flags like FINAL).
`final Java.Modifier[]`
Java.ModuleDeclaration.`modifiers`
The modifiers of the module declaration; module declarations must have only annotations, no access modifiers.
`final Java.Modifier[]`
Java.TryStatement.LocalVariableDeclaratorResource.`modifiers`
The resource variable modifiers (annotations and/or flags like FINAL).
`final Java.Modifier[]`
Java.RequiresModuleDirective.`requiresModifiers`
The modifiers of the requires directive, see JLS9 7.7.1
Methods in org.codehaus.janino that return Java.Modifier
Modifier and Type
Method
Description
`Java.Modifier[]`
Java.AbstractTypeBodyDeclaration.`getModifiers()`
`Java.Modifier[]`
Java.AbstractTypeDeclaration.`getModifiers()`
`Java.Modifier[]`
Java.AnnotationTypeDeclaration.`getModifiers()`
`Java.Modifier[]`
Java.EnumDeclaration.`getModifiers()`
`Java.Modifier[]`
Java.FieldDeclaration.`getModifiers()`
`Java.Modifier[]`
Java.TypeBodyDeclaration.`getModifiers()`
`Java.Modifier[]`
Parser.`parseModifiers()`
Modifiers := { Modifier }
`Java.Modifier`
Parser.`parseOptionalModifier()`
Modifier := Annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' | 'default'
Methods in org.codehaus.janino with parameters of type Java.Modifier
Modifier and Type
Method
Description
`Java.AnnotationTypeDeclaration`
Parser.`parseAnnotationTypeDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context)`
AnnotationTypeDeclarationRest := Identifier AnnotationTypeBody
`Java.NamedClassDeclaration`
Parser.`parseClassDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context)`
ClassDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceType ] [ 'implements' ReferenceTypeList ] ClassBody
`Java.ConstructorDeclarator`
Parser.`parseConstructorDeclarator(String docComment, Java.Modifier[] modifiers)`
ConstructorDeclarator := Identifier FormalParameters [ 'throws' ReferenceTypeList ] '{' [ 'this' Arguments ';' | 'super' Arguments ';' | Primary '.' 'super' Arguments ';' ] BlockStatements '}'
`Java.EnumDeclaration`
Parser.`parseEnumDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.ClassDeclarationContext context)`
EnumDeclarationRest := Identifier [ 'implements' ReferenceTypeList ] EnumBody
`Java.FunctionDeclarator.FormalParameter`
Parser.`parseFormalParameterRest(Java.Modifier[] modifiers, Java.Type type, boolean[] hasEllipsis)`
FormalParameterRest := [ '.' '.' '.' ] Identifier BracketsOpt
`Java.InterfaceDeclaration`
Parser.`parseInterfaceDeclarationRest(String docComment, Java.Modifier[] modifiers, Parser.InterfaceDeclarationContext context)`
InterfaceDeclarationRest := Identifier [ typeParameters ] [ 'extends' ReferenceTypeList ] InterfaceBody
`Java.MethodDeclarator`
Parser.`parseMethodDeclarationRest(String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, boolean allowDefaultClause, Parser.MethodDeclarationContext context)`
MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] [ 'default' expression ] ( ';' | MethodBody )
`Java.ModuleDeclaration`
Parser.`parseModuleDeclarationRest(Java.Modifier[] modifiers)`
ModuleDeclarationRest := [ 'open' ] 'module' identifier { '.' identifier} '{' { ModuleDirective } '}'
`Java.PackageDeclaration`
Parser.`parsePackageDeclarationRest(String docComment, Java.Modifier[] modifiers)`
PackageDeclaration := { PackageModifier } 'package' identifier { '.' identifier} ';'
Constructors in org.codehaus.janino with parameters of type Java.Modifier
Modifier
Constructor
Description
``
`AbstractClassDeclaration(Location location, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters)`
`protected`
`AbstractTypeBodyDeclaration(Location location, Java.Modifier[] modifiers)`
``
`AbstractTypeDeclaration(Location location, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters)`
``
`ConstructorDeclarator(Location location, String docComment, Java.Modifier[] modifiers, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation constructorInvocation, List<? extends Java.BlockStatement> statements)`
``
`EnumConstant(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Rvalue[] arguments)`
``
`FieldDeclaration(Location location, String docComment, Java.Modifier[] modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)`
``
`FormalParameter(Location location, Java.Modifier[] modifiers, Java.Type type, String name)`
``
`FunctionDeclarator(Location location, String docComment, Java.Modifier[] modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> statements)`
``
`Initializer(Location location, Java.Modifier[] modifiers, Java.Block block)`
`protected`
`InterfaceDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes)`
``
`LocalClassDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes)`
``
`LocalVariableDeclarationStatement(Location location, Java.Modifier[] modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)`
``
`LocalVariableDeclaratorResource(Location location, Java.Modifier[] modifiers, Java.Type type, Java.VariableDeclarator variableDeclarator)`
``
`MemberAnnotationTypeDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name)`
``
`MemberClassDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes)`
``
`MemberEnumDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Type[] implementedTypes)`
``
`MemberInterfaceDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes)`
``
`MethodDeclarator(Location location, String docComment, Java.Modifier[] modifiers, Java.TypeParameter[] typeParameters, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters formalParameters, Java.Type[] thrownExceptions, Java.ElementValue defaultValue, List<? extends Java.BlockStatement> statements)`
``
`ModuleDeclaration(Location location, Java.Modifier[] modifiers, boolean isOpen, String[] moduleName, Java.ModuleDirective[] moduleDirectives)`
``
`NamedClassDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes)`
``
`PackageMemberAnnotationTypeDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name)`
``
`PackageMemberClassDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type extendedType, Java.Type[] implementedTypes)`
``
`PackageMemberEnumDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Type[] implementedTypes)`
``
`PackageMemberInterfaceDeclaration(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.TypeParameter[] typeParameters, Java.Type[] extendedTypes)`
`protected`
`RequiresModuleDirective(Location location, Java.Modifier[] requiresModifiers, String[] moduleName)`

## Uses of Java.Modifier in org.codehaus.janino.util

Methods in org.codehaus.janino.util that return Java.Modifier
Modifier and Type
Method
Description
`Java.Modifier`
DeepCopier.`copyModifier(Java.Modifier modifier)`
`Java.Modifier[]`
DeepCopier.`copyModifiers(Java.Modifier[] subject)`
Methods in org.codehaus.janino.util with parameters of type Java.Modifier
Modifier and Type
Method
Description
`Java.Modifier`
DeepCopier.`copyModifier(Java.Modifier modifier)`
`Java.Modifier[]`
DeepCopier.`copyModifiers(Java.Modifier[] subject)`