@Override public boolean visit(TypeDeclaration node) { fDefined.add(node.resolveBinding()); return true; } @Override
public boolean visit(TypeDeclaration node) { fDefined.add(node.resolveBinding()); return true; } public boolean visit(SimpleName node) {
public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
@Override public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
@Override public void endVisit(TypeDeclaration node) { final ITypeBinding typeBinding = node.resolveBinding(); if (typeBinding != null && !typeBinding.isNested()) { resetAllNames(); } }
public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
public boolean visit(TypeDeclaration node) { if (found(node, node.getName()) && this.resolveBinding) this.foundBinding = node.resolveBinding(); return true; }
@Override public boolean visit(TypeDeclaration node) { ITypeBinding binding = node.resolveBinding(); if(binding!=null) calculate(binding); return super.visit(node); }
public boolean visit(TypeDeclaration node) { ITypeBinding binding= node.resolveBinding(); if (binding != null) { binding= binding.getTypeDeclaration(); if (isMovedMember(binding)) return false; } return super.visit(node); }
public ITypeBinding getDeclaringClass() { ASTNode parent = this.variableDeclaration.getParent(); while (parent != null && parent.getNodeType() != ASTNode.TYPE_DECLARATION) { parent = parent.getParent(); } if (parent != null) { return ((TypeDeclaration) parent).resolveBinding(); } return null; }
@Override public boolean visit(TypeDeclaration node) { ITypeBinding binding= node.resolveBinding(); if (binding != null) { binding= binding.getTypeDeclaration(); if (isMovedMember(binding)) return false; } return super.visit(node); }
@Override public ITypeBinding getDeclaringClass() { ASTNode parent = this.variableDeclaration.getParent(); while (parent != null && parent.getNodeType() != ASTNode.TYPE_DECLARATION) { parent = parent.getParent(); } if (parent != null) { return ((TypeDeclaration) parent).resolveBinding(); } return null; }
public ITypeBinding getDeclaringClass() { ASTNode parent = this.variableDeclaration.getParent(); while (parent != null && parent.getNodeType() != ASTNode.TYPE_DECLARATION) { parent = parent.getParent(); } if (parent != null) { return ((TypeDeclaration) parent).resolveBinding(); } return null; }
public ITypeBinding getDeclaringClass() { ASTNode parent = this.variableDeclaration.getParent(); while (parent != null && parent.getNodeType() != ASTNode.TYPE_DECLARATION) { parent = parent.getParent(); } if (parent != null) { return ((TypeDeclaration) parent).resolveBinding(); } return null; }
public boolean visit(TypeDeclaration node) { if (fBinding.getKind() == IBinding.METHOD) { IMethodBinding binding= (IMethodBinding) fBinding; if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) { fResult.add(node.getName()); } } return true; }
private boolean shouldParamClassBeStatic(TypeDeclaration enclosingTypeDecl) { if (enclosingTypeDecl.isPackageMemberTypeDeclaration()) { return true; } ITypeBinding binding= enclosingTypeDecl.resolveBinding(); int modifiers= binding != null ? binding.getModifiers() : enclosingTypeDecl.getModifiers(); return Modifier.isStatic(modifiers); }
@Override public boolean visit(TypeDeclaration node) { getFullClassName(node.resolveBinding()); getType(node); getSuperclass(node); getInterfaces(node); return false; }
@Override public boolean visit(TypeDeclaration node) { ITypeBinding binding = node.resolveBinding(); if (binding != null) { IReferenceTypeDescriptor desc = Factory.typeDescriptor(binding.getQualifiedName()); IApiAnnotations annots = apidescription.resolveAnnotations(desc); if (annots != null && !RestrictionModifiers.isUnrestricted(annots.getRestrictions())) { updateNode(node, annots); } } return true; }