return; TypeElement containingClass = compInfo.getElementUtilities(). enclosingTypeElement(element); if ( !AnnotationUtil.isSessionBean( containingClass, compInfo) ){
ExecutableElement overridenMethod = compInfo.getElementUtilities(). getOverriddenMethod( element ); if ( overridenMethod == null ){ return; TypeElement superClass = compInfo.getElementUtilities(). enclosingTypeElement( overridenMethod ); TypeElement containingClass = compInfo.getElementUtilities(). enclosingTypeElement( element ); TypeMirror typeDirectSuper = containingClass.getSuperclass();
ExecutableElement overriddenMethod = compInfo.getElementUtilities(). getOverriddenMethod(method); if ( overriddenMethod == null ){ return; TypeElement clazz = compInfo.getElementUtilities(). enclosingTypeElement(method); TypeMirror superType = clazz.getSuperclass(); TypeElement superClass = compInfo.getElementUtilities(). enclosingTypeElement(overriddenMethod); if ( !superClass.equals( compInfo.getTypes().asElement( superType))){
/** * @see #dumpOutOfSyncError(org.netbeans.modules.parsing.api.Snapshot, int, com.sun.source.tree.Tree, javax.lang.model.element.Element, org.netbeans.api.lexer.TokenSequence, com.sun.javadoc.Doc, boolean) dumpOutOfSyncError */ public static void dumpOutOfSyncError(CompilationInfo javac, TokenSequence<JavadocTokenId> ts, Doc jdoc, boolean throwNotLogException) { Element elm = javac.getElementUtilities().elementFor(jdoc); Tree tree = elm != null ? javac.getTrees().getTree(elm) : null; dumpOutOfSyncError(javac.getSnapshot(), dumpOffset(ts), tree, elm, ts, jdoc, throwNotLogException); }
StringBuilder sqName = new StringBuilder(); boolean clashing = false; ElementUtilities eu = info.getElementUtilities(); ElementUtilities.ElementAcceptor acceptor = new ElementUtilities.ElementAcceptor() { @Override
return e; if (!info.getElementUtilities().isErroneous(e)) { return e;
if (e == null || javac.getElementUtilities().isSynthetic(e)) return null;
Doc jdoc = el != null? javac.getElementUtilities().javaDocFor(el): null; if (isInvalidDocInstance(jdoc, jdts)) { dumpOutOfSyncError(javac.getSnapshot(), offset, leaf, el, jdts, jdoc, false);