This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | Symbol.
A class for class symbols |
| public static interface | Symbol.
Symbol completer interface. |
| public static class | |
| public static class | |
| public static class | Symbol.
A class for invokedynamic method calls. |
| public static class | Symbol.
A class for condy. |
| public static class | Symbol.
A class for method handles. |
| public static class | Symbol.
A class for method symbols. |
| public static enum | |
| public static enum | |
| public static class | Symbol.
A class for module symbols. |
| public static class | Symbol.
A class for predefined operators. |
| public static class | Symbol.
A class for package symbols |
| public static class | |
| public static class | |
| public static class | |
| public abstract static class | Symbol.
A base class for Symbols representing types. |
| public static class | Symbol.
Type variables are represented by instances of this class. |
| public static class | Symbol.
A class for variable symbols |
| public static interface | Symbol.
the return type of the operation implemented by this
visitor; use Void if no return type is needed. R, the type of the second argument (the first being the
symbol itself) of the operation implemented by this visitor; use
Void if a second argument is not needed. P>A visitor for symbols. |
| Modifier and Type | Field and Description |
|---|---|
| public Symbol. | completer
The completer of this symbol. |
| public Type | erasure_field
A cache for the type erasure of this symbol. |
| public long | flags_field
The flags of this symbol. |
| public Kinds. | kind
The kind of this symbol. |
| protected SymbolMetadata | metadata
The attributes of this symbol are contained in this SymbolMetadata. |
| public Name | name
The name of this symbol in Utf8 representation. |
| public Symbol | owner
The owner of this symbol. |
| public Type | type
The type of this symbol. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <R, P> R | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Symbol | asMemberOf(Type site, Types types)
The (variable or method) symbol seen as a member of given class type`site' (this might change the symbol's type). |
| public Type | asType()
Implements javax. Returns the type defined by this element. |
| public Attribute. | |
| public Symbol | |
| public Symbol | |
| public void | |
| public Symbol. | |
| public Type | |
| public boolean | |
| public Type | |
| public long | |
| public Name | |
| public List | getAnnotationMirrors()
Implements abstract com. Implements javax. This is the implementation for |
| public List | |
| public List | |
| public List | getEnclosedElements()
Implements javax. Returns the elements that are, loosely speaking, directly enclosed by this element. |
| public Symbol | getEnclosingElement()
Implements javax. Returns the innermost element within which this element is, loosely speaking, enclosed. |
| public List | |
| public ElementKind | |
| public SymbolMetadata | |
| public Set | getModifiers()
Implements javax. Returns the modifiers of this element, excluding annotations. |
| public Name | |
| public List | |
| public List | |
| public Name | getSimpleName()
Implements javax. Returns the simple (unqualified) name of this element. |
| public List | |
| public boolean | |
| public boolean | |
| public boolean | hasOuterInstance()
An inner class has an outer instance if it is not an interface, enum or record, it has an enclosing instance class which might be referenced from the class. |
| public boolean | |
| private SymbolMetadata | |
| public Symbol. | innermostAccessibleEnclosingClass()
If the class containing this symbol is a local or an anonymous class, then it might be defined inside one or more pre-construction contexts, for which the corresponding enclosing instance is considered inaccessible. |
| public boolean | |
| public final boolean | isAccessibleIn(Symbol
The class for which we want to establish membership.
This must be a subclass of the member's owner. clazz, Types types)Is this symbol accessible in a given class? |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isDirectlyOrIndirectlyLocal()
Is this symbol declared (directly or indirectly) local to a method or variable initializer? |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isInheritedIn(Symbol
The class for which we want to establish membership.
This must be a subclass of the member's owner. clazz, Types types)Is this symbol inherited into a given class? |
| public boolean | |
| public boolean | |
| public boolean | isMemberOf(Symbol.
Fully check membership: hierarchy, protection, and hiding. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Symbol | Returns: null if the symbol is a package or a toplevel class defined in the default package; otherwise, the owner symbol is returnedA Java source description of the location of this symbol; used for error reporting. |
| public Symbol | |
| public Scope. | |
| public Symbol. | |
| public boolean | overrides(Symbol _other, Symbol.
Does this method symbol override `other' symbol, when both are seen as members of class `origin'? |
| public Symbol. | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |