Package | Description |
---|---|
com.sun.tools.javac.code | |
com.sun.tools.javac.comp | |
com.sun.tools.javac.jvm | |
com.sun.tools.javac.model | |
com.sun.tools.javac.tree | |
com.sun.tools.javac.util |
Modifier and Type | Class and Description |
---|---|
static class |
Symbol.DynamicMethodSymbol
A class for invokedynamic method calls.
|
static class |
Symbol.OperatorSymbol
A class for predefined operators.
|
Modifier and Type | Field and Description |
---|---|
Symbol.MethodSymbol |
Symtab.arrayCloneMethod |
Symbol.MethodSymbol |
Symtab.autoCloseableClose
The symbol representing the close method on TWR AutoCloseable type
|
Symbol.MethodSymbol |
Symtab.enumFinalFinalize
The symbol representing the final finalize method on enums
|
Modifier and Type | Field and Description |
---|---|
List<Pair<Symbol.MethodSymbol,Attribute>> |
Attribute.Compound.values
The attributes values, as pairs.
|
Modifier and Type | Method and Description |
---|---|
Symbol.MethodSymbol |
Symbol.MethodSymbol.binaryImplementation(Symbol.ClassSymbol origin,
Types types)
The implementation of this (abstract) symbol in class origin,
from the VM's point of view, null if method does not have an
implementation in class.
|
Symbol.MethodSymbol |
Symbol.MethodSymbol.clone(Symbol newOwner)
Clone this symbol with new owner.
|
Symbol.MethodSymbol |
Types.implementation(Symbol.MethodSymbol ms,
Symbol.TypeSymbol origin,
boolean checkResult,
Filter<Symbol> implFilter) |
Symbol.MethodSymbol |
Symbol.MethodSymbol.implementation(Symbol.TypeSymbol origin,
Types types,
boolean checkResult)
The implementation of this (abstract) symbol in class origin;
null if none exists.
|
Symbol.MethodSymbol |
Symbol.MethodSymbol.implementation(Symbol.TypeSymbol origin,
Types types,
boolean checkResult,
Filter<Symbol> implFilter) |
Modifier and Type | Method and Description |
---|---|
Map<Symbol.MethodSymbol,Attribute> |
Attribute.Compound.getElementValues() |
List<Symbol.MethodSymbol> |
Types.interfaceCandidates(Type site,
Symbol.MethodSymbol ms) |
List<Symbol.MethodSymbol> |
Types.prune(List<Symbol.MethodSymbol> methods) |
Modifier and Type | Method and Description |
---|---|
Symbol.MethodSymbol |
Types.implementation(Symbol.MethodSymbol ms,
Symbol.TypeSymbol origin,
boolean checkResult,
Filter<Symbol> implFilter) |
List<Symbol.MethodSymbol> |
Types.interfaceCandidates(Type site,
Symbol.MethodSymbol ms) |
boolean |
Types.isSignaturePolymorphic(Symbol.MethodSymbol msym)
A polymorphic signature method (JLS SE 7, 8.4.1) is a method that
(i) is declared in the java.lang.invoke.MethodHandle class, (ii) takes
a single variable arity parameter (iii) whose declared type is Object[],
(iv) has a return type of Object and (v) is native.
|
String |
Printer.visitMethodSymbol(Symbol.MethodSymbol s,
Locale locale) |
R |
Symbol.Visitor.visitMethodSymbol(Symbol.MethodSymbol s,
P arg) |
R |
Types.DefaultSymbolVisitor.visitMethodSymbol(Symbol.MethodSymbol s,
S arg) |
Modifier and Type | Method and Description |
---|---|
List<Symbol.MethodSymbol> |
Types.prune(List<Symbol.MethodSymbol> methods) |
Constructor and Description |
---|
DynamicMethodSymbol(Name name,
Symbol owner,
int bsmKind,
Symbol.MethodSymbol bsm,
Type type,
Object[] staticArgs) |
Constructor and Description |
---|
Compound(Type type,
List<Pair<Symbol.MethodSymbol,Attribute>> values) |
TypeCompound(Type type,
List<Pair<Symbol.MethodSymbol,Attribute>> values,
TypeAnnotationPosition position) |
Modifier and Type | Method and Description |
---|---|
Symbol.MethodSymbol |
Attr.removeClinit(Symbol.ClassSymbol sym) |
Symbol.MethodSymbol |
Resolve.resolveInternalConstructor(JCDiagnostic.DiagnosticPosition pos,
Env<AttrContext> env,
Type site,
List<Type> argtypes,
List<Type> typeargtypes)
Resolve a constructor, throw a fatal error if not found.
|
Symbol.MethodSymbol |
Resolve.resolveInternalMethod(JCDiagnostic.DiagnosticPosition pos,
Env<AttrContext> env,
Type site,
Name name,
List<Type> argtypes,
List<Type> typeargtypes)
Resolve a qualified method identifier, throw a fatal error if not
found.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Symbol.MethodSymbol,Map<JCTree,List<Symbol.VarSymbol>>> |
LVTRanges.aliveRangeClosingTrees |
Modifier and Type | Method and Description |
---|---|
boolean |
LVTRanges.containsKey(Symbol.MethodSymbol method,
JCTree tree) |
List<Symbol.VarSymbol> |
LVTRanges.getVars(Symbol.MethodSymbol method,
JCTree tree) |
List<Symbol.VarSymbol> |
LVTRanges.removeEntry(Symbol.MethodSymbol method,
JCTree tree) |
void |
LVTRanges.setEntry(Symbol.MethodSymbol method,
JCTree tree,
List<Symbol.VarSymbol> vars) |
Constructor and Description |
---|
Code(Symbol.MethodSymbol meth,
boolean fatcode,
Position.LineMap lineMap,
boolean varDebugInfo,
Code.StackMapFormat stackMap,
boolean debugCode,
CRTable crt,
Symtab syms,
Types types,
Pool pool,
LVTRanges lvtRanges)
Construct a code object, given the settings of the fatcode,
debugging info switches and the CharacterRangeTable.
|
Modifier and Type | Method and Description |
---|---|
Map<Symbol.MethodSymbol,Attribute> |
JavacElements.getElementValuesWithDefaults(AnnotationMirror a) |
Set<Symbol.MethodSymbol> |
JavacTypes.getOverriddenMethods(Element elem) |
Modifier and Type | Field and Description |
---|---|
Symbol.MethodSymbol |
JCTree.JCMethodDecl.sym
method symbol
|
Modifier and Type | Method and Description |
---|---|
JCTree.JCMethodDecl |
TreeMaker.MethodDef(Symbol.MethodSymbol m,
JCTree.JCBlock body)
Create a method definition from a method symbol and a method body.
|
JCTree.JCMethodDecl |
TreeMaker.MethodDef(Symbol.MethodSymbol m,
Type mtype,
JCTree.JCBlock body)
Create a method definition from a method symbol, method type
and a method body.
|
Constructor and Description |
---|
JCMethodDecl(JCTree.JCModifiers mods,
Name name,
JCTree.JCExpression restype,
List<JCTree.JCTypeParameter> typarams,
JCTree.JCVariableDecl recvparam,
List<JCTree.JCVariableDecl> params,
List<JCTree.JCExpression> thrown,
JCTree.JCBlock body,
JCTree.JCExpression defaultValue,
Symbol.MethodSymbol sym) |
Modifier and Type | Method and Description |
---|---|
String |
RichDiagnosticFormatter.RichPrinter.visitMethodSymbol(Symbol.MethodSymbol s,
Locale locale) |
Copyright © 2015. All rights reserved.