All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected void |
adjustSourcePositionsForParent(Expression expression) |
protected void |
buildBodyDeclarations(TypeDeclaration typeDeclaration,
AbstractTypeDeclaration typeDecl,
boolean isInterface) |
protected void |
buildBodyDeclarations(TypeDeclaration expression,
AnonymousClassDeclaration anonymousClassDeclaration) |
protected void |
buildBodyDeclarations(TypeDeclaration enumDeclaration2,
EnumDeclaration enumDeclaration) |
protected void |
checkAndAddMultipleFieldDeclaration(FieldDeclaration[] fields,
int index,
java.util.List bodyDeclarations) |
protected void |
checkAndAddMultipleLocalDeclaration(Statement[] stmts,
int index,
java.util.List blockStatements) |
protected void |
checkCanceled() |
protected void |
completeRecord(ArrayType arrayType,
ASTNode astNode) |
ClassInstanceCreation |
convert(AllocationExpression expression) |
Expression |
convert(AND_AND_Expression expression) |
Annotation |
convert(Annotation annotation) |
ASTNode |
convert(AnnotationMethodDeclaration annotationTypeMemberDeclaration) |
SingleVariableDeclaration |
convert(Argument argument) |
ArrayCreation |
convert(ArrayAllocationExpression expression) |
ArrayInitializer |
convert(ArrayInitializer expression) |
ArrayAccess |
convert(ArrayReference reference) |
AssertStatement |
convert(AssertStatement statement) |
Assignment |
convert(Assignment expression) |
TypeDeclaration |
convert(ASTNode[] nodes) |
Expression |
convert(BinaryExpression expression) |
Block |
convert(Block statement) |
ASTNode |
convert(boolean isInterface,
AbstractMethodDeclaration methodDeclaration) |
BreakStatement |
convert(BreakStatement statement) |
SwitchCase |
convert(CaseStatement statement) |
CastExpression |
convert(CastExpression expression) |
CharacterLiteral |
convert(CharLiteral expression) |
Expression |
convert(ClassLiteralAccess expression) |
CompilationUnit |
convert(CompilationUnitDeclaration unit,
char[] source) |
Assignment |
convert(CompoundAssignment expression) |
ConditionalExpression |
convert(ConditionalExpression expression) |
ContinueStatement |
convert(ContinueStatement statement) |
DoStatement |
convert(DoStatement statement) |
NumberLiteral |
convert(DoubleLiteral expression) |
EmptyStatement |
convert(EmptyStatement statement) |
Expression |
convert(EqualExpression expression) |
Statement |
convert(ExplicitConstructorCall statement) |
Expression |
convert(Expression expression) |
StringLiteral |
convert(ExtendedStringLiteral expression) |
BooleanLiteral |
convert(FalseLiteral expression) |
EnumConstantDeclaration |
convert(FieldDeclaration enumConstant) |
Expression |
convert(FieldReference reference) |
NumberLiteral |
convert(FloatLiteral expression) |
Statement |
convert(ForeachStatement statement) |
ForStatement |
convert(ForStatement statement) |
IfStatement |
convert(IfStatement statement) |
InstanceofExpression |
convert(InstanceOfExpression expression) |
NumberLiteral |
convert(IntLiteral expression) |
NumberLiteral |
convert(IntLiteralMinValue expression) |
void |
convert(Javadoc javadoc,
BodyDeclaration bodyDeclaration) |
void |
convert(Javadoc javadoc,
PackageDeclaration packageDeclaration) |
LabeledStatement |
convert(LabeledStatement statement) |
Expression |
convert(LambdaExpression lambda) |
NumberLiteral |
convert(LongLiteral expression) |
NumberLiteral |
convert(LongLiteralMinValue expression) |
MarkerAnnotation |
convert(MarkerAnnotation annotation) |
MemberValuePair |
convert(MemberValuePair memberValuePair) |
Expression |
convert(MessageSend expression) |
Name |
convert(NameReference reference) |
NormalAnnotation |
convert(NormalAnnotation annotation) |
NullLiteral |
convert(NullLiteral expression) |
Expression |
convert(OR_OR_Expression expression) |
PostfixExpression |
convert(PostfixExpression expression) |
PrefixExpression |
convert(PrefixExpression expression) |
Expression |
convert(QualifiedAllocationExpression allocation) |
Name |
convert(QualifiedNameReference nameReference) |
Name |
convert(QualifiedSuperReference reference) |
ThisExpression |
convert(QualifiedThisReference reference) |
Expression |
convert(Reference reference) |
Expression |
convert(ReferenceExpression reference) |
ReturnStatement |
convert(ReturnStatement statement) |
SingleMemberAnnotation |
convert(SingleMemberAnnotation annotation) |
SimpleName |
convert(SingleNameReference nameReference) |
Statement |
convert(Statement statement) |
Expression |
convert(StringLiteral expression) |
InfixExpression |
convert(StringLiteralConcatenation expression) |
SwitchStatement |
convert(SwitchStatement statement) |
SynchronizedStatement |
convert(SynchronizedStatement statement) |
Expression |
convert(ThisReference reference) |
ThrowStatement |
convert(ThrowStatement statement) |
BooleanLiteral |
convert(TrueLiteral expression) |
TryStatement |
convert(TryStatement statement) |
ASTNode |
convert(TypeDeclaration typeDeclaration) |
TypeParameter |
convert(TypeParameter typeParameter) |
Name |
convert(TypeReference typeReference) |
PrefixExpression |
convert(UnaryExpression expression) |
WhileStatement |
convert(WhileStatement statement) |
ImportDeclaration |
convertImport(ImportReference importReference) |
PackageDeclaration |
convertPackage(CompilationUnitDeclaration compilationUnitDeclaration) |
AnnotationTypeDeclaration |
convertToAnnotationDeclaration(TypeDeclaration typeDeclaration) |
protected EnumDeclaration |
convertToEnumDeclaration(TypeDeclaration typeDeclaration) |
Expression |
convertToExpression(Statement statement) |
protected FieldDeclaration |
convertToFieldDeclaration(FieldDeclaration fieldDecl) |
ParenthesizedExpression |
convertToParenthesizedExpression(Expression expression) |
protected SingleVariableDeclaration |
convertToSingleVariableDeclaration(LocalDeclaration localDeclaration) |
protected VariableDeclarationExpression |
convertToVariableDeclarationExpression(LocalDeclaration localDeclaration) |
protected VariableDeclarationFragment |
convertToVariableDeclarationFragment(FieldDeclaration fieldDeclaration) |
protected VariableDeclarationFragment |
convertToVariableDeclarationFragment(LocalDeclaration localDeclaration) |
protected VariableDeclarationStatement |
convertToVariableDeclarationStatement(LocalDeclaration localDeclaration) |
Type |
convertType(TypeReference typeReference) |
protected Comment |
createComment(int[] positions) |
protected Statement |
createFakeEmptyStatement(Statement statement) |
protected Expression |
createFakeNullLiteral(FunctionalExpression expression)
|
static ASTConverter |
getASTConverter(java.util.Map options,
boolean resolveBindings,
IProgressMonitor monitor) |
protected InfixExpression.Operator |
getOperatorFor(int operatorID) |
protected PrimitiveType.Code |
getPrimitiveTypeCode(char[] name) |
protected boolean |
isPrimitiveType(char[] name) |
protected void |
recordName(Name name,
ASTNode compilerNode) |
protected void |
recordNodes(ASTNode node,
ASTNode oldASTNode) |
protected void |
recordNodes(Javadoc javadoc,
TagElement tagElement) |
protected void |
recordPendingNameScopeResolution(Name name) |
protected void |
recordPendingThisExpressionScopeResolution(ThisExpression thisExpression) |
protected void |
removeLeadingAndTrailingCommentsFromLiteral(ASTNode node)
Remove potential trailing comment by settings the source end on the closing parenthesis
|
protected int |
retrieveClosingAngleBracketPosition(int start)
This method is used to retrieve the end position of the block.
|
protected void |
retrieveColonPosition(ASTNode node)
This method is used to set the right end position for expression
statement.
|
protected void |
retrieveDimensionAndSetPositions(int start,
int end,
Dimension dim) |
protected int |
retrieveEllipsisStartPosition(int start,
int end)
This method is used to retrieve the start position of the Ellipsis
|
protected int |
retrieveEndBlockPosition(int start,
int end)
This method is used to retrieve the end position of the block.
|
protected int[] |
retrieveEndOfElementTypeNamePosition(int start,
int end)
This method is used to retrieve the start and end position of a name or primitive type token.
|
protected int |
retrieveEndOfPotentialExtendedDimensions(int initializerEnd,
int nameEnd,
int end)
This method is used to retrieve position before the next comma or semi-colon.
|
protected int |
retrieveEndOfRightParenthesisPosition(int start,
int end)
This method is used to retrieve the position after the right parenthesis.
|
protected void |
retrieveIdentifierAndSetPositions(int start,
int end,
Name name) |
protected int |
retrieveIdentifierEndPosition(int start,
int end)
This method is used to retrieve the start position of the block.
|
protected void |
retrieveInitAndSetPositions(int start,
int end,
Name name)
retrieves the start and and of new and set the positions of the name
|
protected int |
retrieveProperRightBracketPosition(int bracketNumber,
int start) |
protected int |
retrieveProperRightBracketPosition(int bracketNumber,
int start,
int end) |
protected int |
retrieveRightBrace(int start,
int end)
This method is used to retrieve position before the next right brace or semi-colon.
|
protected int |
retrieveRightBraceOrSemiColonPosition(int start,
int end)
This method is used to retrieve position before the next right brace or semi-colon.
|
protected int |
retrieveSemiColonPosition(Expression node) |
protected int |
retrieveStartBlockPosition(int start,
int end)
This method is used to retrieve the start position of the block.
|
protected int |
retrieveStartingCatchPosition(int start,
int end)
This method is used to retrieve the starting position of the catch keyword.
|
void |
setAST(AST ast) |
protected void |
setExtraAnnotatedDimensions(int start,
int end,
TypeReference type,
java.util.List extraAnnotatedDimensions,
int extraDimension) |
protected void |
setModifiers(AnnotationTypeDeclaration typeDecl,
TypeDeclaration typeDeclaration) |
protected void |
setModifiers(AnnotationTypeMemberDeclaration annotationTypeMemberDecl,
AnnotationMethodDeclaration annotationTypeMemberDeclaration) |
protected void |
setModifiers(BodyDeclaration bodyDeclaration,
Annotation[] annotations,
int modifiersEnd) |
protected void |
setModifiers(EnumConstantDeclaration enumConstantDeclaration,
FieldDeclaration fieldDeclaration) |
protected void |
setModifiers(EnumDeclaration enumDeclaration,
TypeDeclaration enumDeclaration2) |
protected void |
setModifiers(FieldDeclaration fieldDeclaration,
FieldDeclaration fieldDecl) |
protected void |
setModifiers(Initializer initializer,
Initializer oldInitializer) |
protected void |
setModifiers(MethodDeclaration methodDecl,
AbstractMethodDeclaration methodDeclaration) |
protected void |
setModifiers(SingleVariableDeclaration variableDecl,
Argument argument) |
protected void |
setModifiers(SingleVariableDeclaration variableDecl,
LocalDeclaration localDeclaration) |
protected void |
setModifiers(TypeDeclaration typeDecl,
TypeDeclaration typeDeclaration) |
protected void |
setModifiers(VariableDeclarationExpression variableDeclarationExpression,
LocalDeclaration localDeclaration) |
protected void |
setModifiers(VariableDeclarationStatement variableDeclarationStatement,
LocalDeclaration localDeclaration) |
protected QualifiedName |
setQualifiedNameNameAndSourceRanges(char[][] typeName,
long[] positions,
ASTNode node) |
protected QualifiedName |
setQualifiedNameNameAndSourceRanges(char[][] typeName,
long[] positions,
int endingIndex,
TypeReference node) |
protected void |
setTypeForField(FieldDeclaration fieldDeclaration,
Type type,
int extraDimension) |
protected void |
setTypeForMethodDeclaration(AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration,
Type type,
int extraDimension) |
protected void |
setTypeForMethodDeclaration(MethodDeclaration methodDeclaration,
Type type,
int extraDimension) |
protected void |
setTypeForSingleVariableDeclaration(SingleVariableDeclaration singleVariableDeclaration,
Type type,
int extraDimension) |
protected void |
setTypeForVariableDeclarationExpression(VariableDeclarationExpression variableDeclarationExpression,
Type type,
int extraDimension) |
protected void |
setTypeForVariableDeclarationStatement(VariableDeclarationStatement variableDeclarationStatement,
Type type,
int extraDimension) |
protected void |
setTypeNameForAnnotation(Annotation compilerAnnotation,
Annotation annotation) |
protected void |
updateInnerPositions(Type type,
int dimensions) |