Java 类org.eclipse.jdt.internal.compiler.ast.JavadocAllocationExpression 实例源码

项目:lombok-ianchiu    文件:SetGeneratedByVisitor.java   
private void fixPositions(JavadocAllocationExpression node) {
    node.sourceEnd = sourceEnd;
    node.sourceStart = sourceStart;
    node.statementEnd = sourceEnd;
    node.memberStart = sourceStart;
    node.tagSourceEnd = sourceEnd;
    node.tagSourceStart = sourceStart;
}
项目:EasyMPermission    文件:SetGeneratedByVisitor.java   
private void fixPositions(JavadocAllocationExpression node) {
    node.sourceEnd = sourceEnd;
    node.sourceStart = sourceStart;
    node.statementEnd = sourceEnd;
    node.memberStart = sourceStart;
    node.tagSourceEnd = sourceEnd;
    node.tagSourceStart = sourceStart;
}
项目:Eclipse-Postfix-Code-Completion    文件:CompletionOnJavadocAllocationExpression.java   
public CompletionOnJavadocAllocationExpression(JavadocAllocationExpression allocation, int position) {
    super(allocation.sourceStart, allocation.sourceEnd);
    this.arguments = allocation.arguments;
    this.type = allocation.type;
    this.tagValue = allocation.tagValue;
    this.sourceEnd = allocation.sourceEnd;
    this.separatorPosition = position;
    this.qualification = allocation.qualification;
}
项目:Eclipse-Postfix-Code-Completion    文件:DefaultBindingResolver.java   
synchronized IBinding resolveReference(MethodRef ref) {
    org.eclipse.jdt.internal.compiler.ast.Expression expression = (org.eclipse.jdt.internal.compiler.ast.Expression) this.newAstToOldAst.get(ref);
    if (expression instanceof JavadocMessageSend) {
        return getMethodBinding(((JavadocMessageSend)expression).binding);
    }
    else if (expression instanceof JavadocAllocationExpression) {
        return getMethodBinding(((JavadocAllocationExpression)expression).binding);
    }
    return null;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:CompletionOnJavadocAllocationExpression.java   
public CompletionOnJavadocAllocationExpression(JavadocAllocationExpression allocation, int position) {
    super(allocation.sourceStart, allocation.sourceEnd);
    this.arguments = allocation.arguments;
    this.type = allocation.type;
    this.tagValue = allocation.tagValue;
    this.sourceEnd = allocation.sourceEnd;
    this.separatorPosition = position;
    this.qualification = allocation.qualification;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:DefaultBindingResolver.java   
synchronized IBinding resolveReference(MethodRef ref) {
    org.eclipse.jdt.internal.compiler.ast.Expression expression = (org.eclipse.jdt.internal.compiler.ast.Expression) this.newAstToOldAst.get(ref);
    if (expression instanceof JavadocMessageSend) {
        return getMethodBinding(((JavadocMessageSend)expression).binding);
    }
    else if (expression instanceof JavadocAllocationExpression) {
        return getMethodBinding(((JavadocAllocationExpression)expression).binding);
    }
    return null;
}
项目:lombok-ianchiu    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, BlockScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:lombok-ianchiu    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, ClassScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:EasyMPermission    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, BlockScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:EasyMPermission    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, ClassScope scope) {
    fixPositions(setGeneratedBy(node, source));
    return super.visit(node, scope);
}
项目:Eclipse-Postfix-Code-Completion    文件:CompletionOnJavadocAllocationExpression.java   
public CompletionOnJavadocAllocationExpression(JavadocAllocationExpression allocation, int position, int flags) {
    this(allocation, position);
    this.completionFlags |= flags;
}
项目:Eclipse-Postfix-Code-Completion-Juno38    文件:CompletionOnJavadocAllocationExpression.java   
public CompletionOnJavadocAllocationExpression(JavadocAllocationExpression allocation, int position, int flags) {
    this(allocation, position);
    this.completionFlags |= flags;
}
项目:lombok    文件:SetGeneratedByVisitor.java   
private void applyOffset(JavadocAllocationExpression node) {
    applyOffsetExpression(node);
    node.memberStart = newSourceStart;
    node.tagSourceEnd = newSourceEnd;
    node.tagSourceStart = newSourceStart;
}
项目:lombok    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, BlockScope scope) {
    setGeneratedBy(node, source);
    applyOffset(node);
    return super.visit(node, scope);
}
项目:lombok    文件:SetGeneratedByVisitor.java   
@Override public boolean visit(JavadocAllocationExpression node, ClassScope scope) {
    setGeneratedBy(node, source);
    applyOffset(node);
    return super.visit(node, scope);
}