public interface ManAttr
Modifier and Type | Interface and Description |
---|---|
static class |
ManAttr.DeferredAttrDiagHandler |
static class |
ManAttr.DeferredDiagnosticHandler |
static class |
ManAttr.MyDiagnosticHandler |
static class |
ManAttr.MyRuntimeException |
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_TYPE |
static Map<com.sun.tools.javac.tree.JCTree.Tag,String> |
BINARY_OP_TO_NAME |
static String |
COMPARE_TO |
static String |
COMPARE_TO_USING |
static String |
DEC |
static String |
INC |
static boolean |
JAILBREAK_PRIVATE_FROM_SUPERS |
static Object |
Kind_TYP |
static Object |
KindSelector_TYP |
static String |
UNARY_MINUS |
Modifier and Type | Method and Description |
---|---|
default Object |
_pkind() |
default Object |
cfolder() |
static boolean |
checkConcatenation(com.sun.tools.javac.tree.JCTree.JCLiteral tree,
CharSequence chars,
HostKind hostKind,
com.sun.tools.javac.util.Log logger) |
default void |
checkReference(com.sun.tools.javac.tree.JCTree.JCMemberReference tree) |
default com.sun.tools.javac.comp.Check |
chk() |
default void |
ensureIndexedAssignmentIsWritable(com.sun.tools.javac.tree.JCTree.JCExpression lhs) |
default com.sun.tools.javac.tree.JCTree.JCMethodDecl |
findJCMethodDef(com.sun.tools.javac.tree.JCTree.JCClassDecl tree,
com.sun.tools.javac.code.Symbol.MethodSymbol msym) |
default com.sun.tools.javac.tree.JCTree.JCVariableDecl |
findJCVariableDecl(com.sun.tools.javac.tree.JCTree.JCClassDecl tree,
com.sun.tools.javac.code.Symbol.VarSymbol vsym) |
default ArrayList<AbstractBinder.Node<com.sun.tools.javac.tree.JCTree.JCExpression,com.sun.tools.javac.tree.JCTree.Tag>> |
getBindingOperands(com.sun.tools.javac.tree.JCTree.JCExpression tree,
ArrayList<AbstractBinder.Node<com.sun.tools.javac.tree.JCTree.JCExpression,com.sun.tools.javac.tree.JCTree.Tag>> operands) |
default com.sun.tools.javac.tree.JCTree.JCClassDecl |
getEnclosingClass(com.sun.source.tree.Tree tree) |
default com.sun.tools.javac.comp.Env |
getEnv() |
default com.sun.tools.javac.util.Log |
getLogger() |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
getMethodSymbol(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.code.Type left,
com.sun.tools.javac.code.Type right,
String opName,
com.sun.tools.javac.code.Symbol.ClassSymbol sym,
int paramCount) |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
getMethodSymbol(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.code.Type left,
com.sun.tools.javac.code.Type right,
String opName,
com.sun.tools.javac.code.Symbol.ClassSymbol sym,
int paramCount,
BiPredicate<com.sun.tools.javac.code.Type,com.sun.tools.javac.code.Type> matcher) |
default boolean |
handleIndexedOverloading(com.sun.tools.javac.tree.JCTree.JCArrayAccess tree) |
default void |
handleNonStaticInterfaceProperty(com.sun.tools.javac.comp.Env<com.sun.tools.javac.comp.AttrContext> env)
Handle properties in interfaces, which are non-static unless explicitly static.
|
default boolean |
handleOperatorOverloading(com.sun.tools.javac.tree.JCTree.JCExpression tree,
com.sun.tools.javac.code.Type left,
com.sun.tools.javac.code.Type right) |
default boolean |
handleUnaryOverloading(com.sun.tools.javac.tree.JCTree.JCUnary tree) |
static boolean |
isAssignableWithGenerics(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.code.Type t1,
com.sun.tools.javac.code.Type t2) |
default boolean |
isAutoType(com.sun.tools.javac.code.Type type) |
static boolean |
isCommutative(com.sun.tools.javac.tree.JCTree.Tag tag) |
static boolean |
isComparableOperator(com.sun.tools.javac.tree.JCTree.Tag tag) |
default boolean |
isPropertyAnno(com.sun.tools.javac.tree.JCTree annotationType) |
static boolean |
isRelationalOperator(com.sun.tools.javac.tree.JCTree.Tag tag) |
static boolean |
isSynthetic(com.sun.tools.javac.code.Symbol.MethodSymbol m) |
static boolean |
isType(com.sun.tools.javac.code.Symbol sym) |
default com.sun.tools.javac.tree.JCTree.JCTypeCast |
makeCast(com.sun.tools.javac.tree.JCTree.JCExpression expression,
com.sun.tools.javac.code.Type type) |
default com.sun.tools.javac.util.Names |
names() |
default void |
patchAutoFieldType(com.sun.tools.javac.tree.JCTree.JCExpression tree)
If the field access returns `auto`, this indicates the field definition is not fully compiled yet (type attribution),
otherwise the `auto` type would be a real type inferred from the field's initializer.
|
default void |
patchAutoReturnType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree)
If the method call returns `auto`, this indicates the method definition is not fully compiled yet (type attribution),
otherwise the `auto` type would be a real type inferred from the return statements.
|
default void |
patchMethodType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree,
Set<com.sun.tools.javac.tree.JCTree.JCMethodInvocation> visited) |
default void |
patchOperatorMethodType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree) |
com.sun.tools.javac.tree.JCTree.JCAnnotatedType |
peekAnnotatedType() |
com.sun.tools.javac.tree.JCTree.JCMethodDecl |
peekMethodDef() |
com.sun.tools.javac.tree.JCTree.JCFieldAccess |
peekSelect() |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
resolveIndexGetMethod(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.code.Type indexedType,
com.sun.tools.javac.code.Type indexType) |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
resolveIndexSetMethod(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.code.Type indexedType,
com.sun.tools.javac.code.Type indexType) |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
resolveOperatorMethod(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.tree.JCTree.Tag tag,
com.sun.tools.javac.code.Type left,
com.sun.tools.javac.code.Type right) |
static com.sun.tools.javac.code.Symbol.MethodSymbol |
resolveUnaryMethod(com.sun.tools.javac.code.Types types,
com.sun.tools.javac.tree.JCTree.Tag tag,
com.sun.tools.javac.code.Type expr) |
default void |
restoreDiagnostics(com.sun.tools.javac.tree.JCTree.JCFieldAccess tree,
ManAttr.DeferredAttrDiagHandler deferredAttrDiagHandler)
Facilitates handling shadowing where an instance field shadows an inner class of the same name.
|
default Object |
resultInfo() |
default com.sun.tools.javac.comp.Resolve |
rs() |
default void |
setResult(com.sun.tools.javac.tree.JCTree.JCExpression tree,
com.sun.tools.javac.code.Type owntype) |
default void |
setResult(com.sun.tools.javac.tree.JCTree.JCExpression tree,
com.sun.tools.javac.code.Type owntype,
String valVar) |
default ManAttr.DeferredAttrDiagHandler |
suppressDiagnositics(com.sun.tools.javac.tree.JCTree.JCFieldAccess tree) |
default com.sun.tools.javac.code.Symtab |
syms() |
default com.sun.tools.javac.code.Types |
types() |
default void |
visitBindingExpression(com.sun.tools.javac.tree.JCTree.JCBinary tree) |
static final String AUTO_TYPE
static final Object Kind_TYP
static final Object KindSelector_TYP
static final boolean JAILBREAK_PRIVATE_FROM_SUPERS
static final String COMPARE_TO
static final String COMPARE_TO_USING
static final String UNARY_MINUS
static final String INC
static final String DEC
com.sun.tools.javac.tree.JCTree.JCMethodDecl peekMethodDef()
com.sun.tools.javac.tree.JCTree.JCFieldAccess peekSelect()
com.sun.tools.javac.tree.JCTree.JCAnnotatedType peekAnnotatedType()
default com.sun.tools.javac.comp.Env getEnv()
default com.sun.tools.javac.util.Log getLogger()
default Object resultInfo()
default com.sun.tools.javac.comp.Check chk()
default com.sun.tools.javac.comp.Resolve rs()
default com.sun.tools.javac.util.Names names()
default com.sun.tools.javac.code.Types types()
default Object cfolder()
default com.sun.tools.javac.code.Symtab syms()
default Object _pkind()
default void patchMethodType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree, Set<com.sun.tools.javac.tree.JCTree.JCMethodInvocation> visited)
default void patchOperatorMethodType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree)
default void patchAutoFieldType(com.sun.tools.javac.tree.JCTree.JCExpression tree)
default void patchAutoReturnType(com.sun.tools.javac.tree.JCTree.JCMethodInvocation tree)
default com.sun.tools.javac.tree.JCTree.JCMethodDecl findJCMethodDef(com.sun.tools.javac.tree.JCTree.JCClassDecl tree, com.sun.tools.javac.code.Symbol.MethodSymbol msym)
default com.sun.tools.javac.tree.JCTree.JCVariableDecl findJCVariableDecl(com.sun.tools.javac.tree.JCTree.JCClassDecl tree, com.sun.tools.javac.code.Symbol.VarSymbol vsym)
default com.sun.tools.javac.tree.JCTree.JCClassDecl getEnclosingClass(com.sun.source.tree.Tree tree)
default boolean isAutoType(com.sun.tools.javac.code.Type type)
default void restoreDiagnostics(com.sun.tools.javac.tree.JCTree.JCFieldAccess tree, ManAttr.DeferredAttrDiagHandler deferredAttrDiagHandler)
static boolean isType(com.sun.tools.javac.code.Symbol sym)
default ManAttr.DeferredAttrDiagHandler suppressDiagnositics(com.sun.tools.javac.tree.JCTree.JCFieldAccess tree)
default void handleNonStaticInterfaceProperty(com.sun.tools.javac.comp.Env<com.sun.tools.javac.comp.AttrContext> env)
default boolean isPropertyAnno(com.sun.tools.javac.tree.JCTree annotationType)
default boolean handleOperatorOverloading(com.sun.tools.javac.tree.JCTree.JCExpression tree, com.sun.tools.javac.code.Type left, com.sun.tools.javac.code.Type right)
default boolean handleUnaryOverloading(com.sun.tools.javac.tree.JCTree.JCUnary tree)
default boolean handleIndexedOverloading(com.sun.tools.javac.tree.JCTree.JCArrayAccess tree)
default void ensureIndexedAssignmentIsWritable(com.sun.tools.javac.tree.JCTree.JCExpression lhs)
default void visitBindingExpression(com.sun.tools.javac.tree.JCTree.JCBinary tree)
default void setResult(com.sun.tools.javac.tree.JCTree.JCExpression tree, com.sun.tools.javac.code.Type owntype)
default void setResult(com.sun.tools.javac.tree.JCTree.JCExpression tree, com.sun.tools.javac.code.Type owntype, String valVar)
default ArrayList<AbstractBinder.Node<com.sun.tools.javac.tree.JCTree.JCExpression,com.sun.tools.javac.tree.JCTree.Tag>> getBindingOperands(com.sun.tools.javac.tree.JCTree.JCExpression tree, ArrayList<AbstractBinder.Node<com.sun.tools.javac.tree.JCTree.JCExpression,com.sun.tools.javac.tree.JCTree.Tag>> operands)
default com.sun.tools.javac.tree.JCTree.JCTypeCast makeCast(com.sun.tools.javac.tree.JCTree.JCExpression expression, com.sun.tools.javac.code.Type type)
static com.sun.tools.javac.code.Symbol.MethodSymbol resolveUnaryMethod(com.sun.tools.javac.code.Types types, com.sun.tools.javac.tree.JCTree.Tag tag, com.sun.tools.javac.code.Type expr)
static com.sun.tools.javac.code.Symbol.MethodSymbol resolveIndexGetMethod(com.sun.tools.javac.code.Types types, com.sun.tools.javac.code.Type indexedType, com.sun.tools.javac.code.Type indexType)
static com.sun.tools.javac.code.Symbol.MethodSymbol resolveIndexSetMethod(com.sun.tools.javac.code.Types types, com.sun.tools.javac.code.Type indexedType, com.sun.tools.javac.code.Type indexType)
static com.sun.tools.javac.code.Symbol.MethodSymbol resolveOperatorMethod(com.sun.tools.javac.code.Types types, com.sun.tools.javac.tree.JCTree.Tag tag, com.sun.tools.javac.code.Type left, com.sun.tools.javac.code.Type right)
static com.sun.tools.javac.code.Symbol.MethodSymbol getMethodSymbol(com.sun.tools.javac.code.Types types, com.sun.tools.javac.code.Type left, com.sun.tools.javac.code.Type right, String opName, com.sun.tools.javac.code.Symbol.ClassSymbol sym, int paramCount)
static boolean isAssignableWithGenerics(com.sun.tools.javac.code.Types types, com.sun.tools.javac.code.Type t1, com.sun.tools.javac.code.Type t2)
static com.sun.tools.javac.code.Symbol.MethodSymbol getMethodSymbol(com.sun.tools.javac.code.Types types, com.sun.tools.javac.code.Type left, com.sun.tools.javac.code.Type right, String opName, com.sun.tools.javac.code.Symbol.ClassSymbol sym, int paramCount, BiPredicate<com.sun.tools.javac.code.Type,com.sun.tools.javac.code.Type> matcher)
static boolean checkConcatenation(com.sun.tools.javac.tree.JCTree.JCLiteral tree, CharSequence chars, HostKind hostKind, com.sun.tools.javac.util.Log logger)
default void checkReference(com.sun.tools.javac.tree.JCTree.JCMemberReference tree)
static boolean isSynthetic(com.sun.tools.javac.code.Symbol.MethodSymbol m)
static boolean isComparableOperator(com.sun.tools.javac.tree.JCTree.Tag tag)
static boolean isRelationalOperator(com.sun.tools.javac.tree.JCTree.Tag tag)
static boolean isCommutative(com.sun.tools.javac.tree.JCTree.Tag tag)
Copyright © 2024. All rights reserved.