Package com.bacoder.parser.java.JavaParser

Examples of com.bacoder.parser.java.JavaParser.ClassOrInterfaceTypeContext


              public Resource apply(ResourceContext context) {
                Resource resource = createNode(context, Resource.class);

                setModifiers(context, resource);

                ClassOrInterfaceTypeContext classOrInterfaceTypeContext =
                    getChild(context, ClassOrInterfaceTypeContext.class);
                if (classOrInterfaceTypeContext != null) {
                  resource.setType(
                      getAdapter(ClassOrInterfaceTypeAdapter.class).adapt(
                          classOrInterfaceTypeContext));
View Full Code Here


    super(adapters);
  }

  @Override
  public Type adapt(TypeContext context) {
    ClassOrInterfaceTypeContext classOrInterfaceTypeContext =
        getChild(context, ClassOrInterfaceTypeContext.class);
    if (classOrInterfaceTypeContext != null) {
      ClassOrInterfaceType type =
          getAdapter(ClassOrInterfaceTypeAdapter.class).adapt(classOrInterfaceTypeContext);
      type.setDimensions(getAdapter(ArrayDimensionsAdapter.class).adapt(context));
View Full Code Here

TOP

Related Classes of com.bacoder.parser.java.JavaParser.ClassOrInterfaceTypeContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.