Java 类javax.lang.model.element.UnknownElementException 实例源码

项目:openjdk-jdk10    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:openjdk9    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:lookaside_java-1.8.0-openjdk    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:jsr308-langtools    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:infobip-open-jdk-8    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:openjdk-source-code-learn    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:OLD-OpenJDK8    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:s4j    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:jdk7-langtools    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:openjdk-icedtea7    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:INF5000-StaticProxy    文件:TestSymtabItems.java   
@Override
public Void visitUnknown(Element e, Void p) {
    show("unknown", e);
    indent(+1);
    try {
        super.visitUnknown(e, p);
    } catch (UnknownElementException ex) {
        System.err.println("caught " + ex);
    }
    indent(-1);
    return null;
}
项目:classpath    文件:AbstractElementVisitor6.java   
/**
 * Visits an unknown element.  This method is called if
 * this visitor is used in a version of the language later
 * than 1.6, where new elements have been added.  This
 * implementation always throws a {@link UnknownElementException}
 * but this is not required of subclasses.
 *
 * @param element the element to visit.
 * @param parameter the additional parameter, specific to the visitor.
 * @return the return value specific to the visitor.
 * @throws UnknownElementException by default.
 */
public R visitUnknown(Element element, P parameter)
{
  throw new UnknownElementException(element, parameter);
}