Klasse AstUtil
java.lang.Object
org.aspectj.ajdt.internal.compiler.ast.AstUtil
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
addMethodBinding
(SourceTypeBinding sourceType, MethodBinding method) static void
addMethodDeclaration
(TypeDeclaration typeDec, AbstractMethodDeclaration dec) static Argument[]
copyArguments
(Argument[] inArgs) static void
generateParameterLoads
(TypeBinding[] parameters, CodeStream codeStream) static void
generateParameterLoads
(TypeBinding[] parameters, CodeStream codeStream, int offset) static void
generateReturn
(TypeBinding returnType, CodeStream codeStream) static List
static CompilationUnitScope
getCompilationUnitScope
(Scope scope) static char[][]
getCompoundName
(String string) static Argument[]
static Expression[]
insert
(Expression first, Expression[] rest) static TypeParameter[]
insert
(TypeParameter first, TypeParameter[] rest) static TypeBinding[]
insert
(TypeBinding first, TypeBinding[] rest) static TypeVariableBinding[]
insert
(TypeVariableBinding[] first, TypeVariableBinding[] rest) static TypeVariableBinding[]
insert
(TypeVariableBinding first, TypeVariableBinding[] rest) static char[]
makeAjcMangledName
(char[] kind, char[] p, char[] name) static char[]
makeAjcMangledName
(char[] kind, ReferenceBinding type, char[] name) static Argument
makeFinalArgument
(char[] name, TypeBinding typeBinding) static SingleNameReference
static long
makeLongPos
(int start, int end) static char[]
static MethodDeclaration
makeMethodDeclaration
(MethodBinding binding) static NameReference
makeNameReference
(TypeBinding binding) static int
makePackageVisible
(int modifiers) static int
makePublic
(int modifiers) static SingleNameReference
static ReturnStatement
static TypeReference
makeTypeReference
(TypeBinding binding) static Statement[]
static void
replaceMethodBinding
(MessageSend send, MethodBinding newBinding) static void
setStatements
(MethodDeclaration ret, List statements) static int
slotsNeeded
(TypeBinding type)
-
Felddetails
-
PREFIX
public static final char[] PREFIX
-
-
Methodendetails
-
addMethodBinding
-
addMethodDeclaration
-
makeFinalArgument
-
makeTypeReference
-
makeNameReference
-
makeReturnStatement
-
makeMethodDeclaration
-
setStatements
-
makeLocalVariableReference
-
makeResolvedLocalVariableReference
-
makePublic
public static int makePublic(int modifiers) -
makePackageVisible
public static int makePackageVisible(int modifiers) -
getCompilationUnitScope
-
generateParameterLoads
-
generateParameterLoads
public static void generateParameterLoads(TypeBinding[] parameters, CodeStream codeStream, int offset) -
generateReturn
-
makeMangledName
-
makeAjcMangledName
-
makeAjcMangledName
public static char[] makeAjcMangledName(char[] kind, char[] p, char[] name) -
getAjSyntheticAttribute
-
makeLongPos
public static long makeLongPos(int start, int end) -
getCompoundName
-
insert
-
insert
-
insert
-
insert
-
insert
-
insert
-
copyArguments
-
remove
-
slotsNeeded
-
replaceMethodBinding
-