Package org.codehaus.janino
Class Java.AccessModifier
- java.lang.Object
-
- org.codehaus.janino.Java.Located
-
- org.codehaus.janino.Java.AccessModifier
-
- All Implemented Interfaces:
Java.Locatable
,Java.Modifier
- Enclosing class:
- Java
public static class Java.AccessModifier extends Java.Located implements Java.Modifier
Representation of the modifier flags and annotations that are associated with a declaration.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
keyword
"public"
,default
, etc.-
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
-
Constructor Summary
Constructors Constructor Description AccessModifier(java.lang.String keyword, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,EX extends java.lang.Throwable>
Raccept(Visitor.ModifierVisitor<R,EX> visitor)
java.lang.String
toString()
-
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
-
-
-
-
Constructor Detail
-
AccessModifier
public AccessModifier(java.lang.String keyword, Location location)
-
-
Method Detail
-
accept
@Nullable public <R,EX extends java.lang.Throwable> R accept(Visitor.ModifierVisitor<R,EX> visitor) throws EX extends java.lang.Throwable
Description copied from interface:Java.Modifier
- Specified by:
accept
in interfaceJava.Modifier
- Throws:
EX extends java.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-