/** * @see ISourceElementRequestor */ public void exitType(int declarationEnd) { SourceType handle = (SourceType) this.handleStack.peek(); TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
/** * @see ISourceElementRequestor */ public void exitType(int declarationEnd) { SourceType handle = (SourceType) this.handleStack.peek(); TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
/** * @see ISourceElementRequestor */ public void exitType(int declarationEnd) { TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceType handle = (SourceType) this.handleStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
/** * @see ISourceElementRequestor */ public void exitType(int declarationEnd) { SourceType handle = (SourceType) this.handleStack.peek(); TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
/** * @see ISourceElementRequestor */ @Override public void exitType(int declarationEnd) { TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceType handle = (SourceType) this.handleStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
/** * @see ISourceElementRequestor */ public void exitType(int declarationEnd) { SourceType handle = (SourceType) this.handleStack.peek(); TypeInfo typeInfo = (TypeInfo) this.infoStack.peek(); SourceTypeElementInfo info = createTypeInfo(typeInfo, handle); info.setSourceRangeEnd(declarationEnd); info.children = getChildren(typeInfo); this.handleStack.pop(); this.infoStack.pop(); } /**
static private SourceTypeElementInfo makeTypeElementInfo (LambdaExpression handle, String interphase, int sourceStart, int sourceEnd, int arrowPosition) { SourceTypeElementInfo elementInfo = new SourceTypeElementInfo(); elementInfo.setFlags(0); elementInfo.setHandle(handle); elementInfo.setSourceRangeStart(sourceStart); elementInfo.setSourceRangeEnd(sourceEnd); elementInfo.setNameSourceStart(sourceStart); elementInfo.setNameSourceEnd(arrowPosition); elementInfo.setSuperclassName(null); elementInfo.addCategories(handle, null); JavaModelManager manager = JavaModelManager.getJavaModelManager(); char[][] superinterfaces = new char [][] { manager.intern(Signature.toString(interphase).toCharArray()) }; // drops marker interfaces - to fix. elementInfo.setSuperInterfaceNames(superinterfaces); return elementInfo; }
static private SourceTypeElementInfo makeTypeElementInfo (LambdaExpression handle, String interphase, int sourceStart, int sourceEnd, int arrowPosition) { SourceTypeElementInfo elementInfo = new SourceTypeElementInfo(); elementInfo.setFlags(0); elementInfo.setHandle(handle); elementInfo.setSourceRangeStart(sourceStart); elementInfo.setSourceRangeEnd(sourceEnd); elementInfo.setNameSourceStart(sourceStart); elementInfo.setNameSourceEnd(arrowPosition); elementInfo.setSuperclassName(null); elementInfo.addCategories(handle, null); JavaModelManager manager = JavaModelManager.getJavaModelManager(); char[][] superinterfaces = new char [][] { manager.intern(Signature.toString(interphase).toCharArray()) }; // drops marker interfaces - to fix. elementInfo.setSuperInterfaceNames(superinterfaces); return elementInfo; }
static private SourceTypeElementInfo makeTypeElementInfo (LambdaExpression handle, String interphase, int sourceStart, int sourceEnd, int arrowPosition) { SourceTypeElementInfo elementInfo = new SourceTypeElementInfo(); elementInfo.setFlags(0); elementInfo.setHandle(handle); elementInfo.setSourceRangeStart(sourceStart); elementInfo.setSourceRangeEnd(sourceEnd); elementInfo.setNameSourceStart(sourceStart); elementInfo.setNameSourceEnd(arrowPosition); elementInfo.setSuperclassName(null); elementInfo.addCategories(handle, null); JavaModelManager manager = JavaModelManager.getJavaModelManager(); char[][] superinterfaces = new char [][] { manager.intern(Signature.toString(interphase).toCharArray()) }; // drops marker interfaces - to fix. elementInfo.setSuperInterfaceNames(superinterfaces); return elementInfo; }
static private SourceTypeElementInfo makeTypeElementInfo (LambdaExpression handle, String interphase, int sourceStart, int sourceEnd, int arrowPosition) { SourceTypeElementInfo elementInfo = new SourceTypeElementInfo(); elementInfo.setFlags(0); elementInfo.setHandle(handle); elementInfo.setSourceRangeStart(sourceStart); elementInfo.setSourceRangeEnd(sourceEnd); elementInfo.setNameSourceStart(sourceStart); elementInfo.setNameSourceEnd(arrowPosition); elementInfo.setSuperclassName(null); elementInfo.addCategories(handle, null); JavaModelManager manager = JavaModelManager.getJavaModelManager(); char[][] superinterfaces = new char [][] { manager.intern(Signature.toString(interphase).toCharArray()) }; // drops marker interfaces - to fix. elementInfo.setSuperInterfaceNames(superinterfaces); return elementInfo; }
static private SourceTypeElementInfo makeTypeElementInfo (LambdaExpression handle, String interphase, int sourceStart, int sourceEnd, int arrowPosition) { SourceTypeElementInfo elementInfo = new SourceTypeElementInfo(); elementInfo.setFlags(0); elementInfo.setHandle(handle); elementInfo.setSourceRangeStart(sourceStart); elementInfo.setSourceRangeEnd(sourceEnd); elementInfo.setNameSourceStart(sourceStart); elementInfo.setNameSourceEnd(arrowPosition); elementInfo.setSuperclassName(null); elementInfo.addCategories(handle, null); JavaModelManager manager = JavaModelManager.getJavaModelManager(); char[][] superinterfaces = new char [][] { manager.intern(Signature.toString(interphase).toCharArray()) }; // drops marker interfaces - to fix. elementInfo.setSuperInterfaceNames(superinterfaces); return elementInfo; }