Package org.ocpsoft.rewrite.annotation.api

Examples of org.ocpsoft.rewrite.annotation.api.FieldContext


      @Override
      public void process(ClassContext context, Resource annotation, HandlerChain chain)
      {
         if (context instanceof FieldContext) {
            FieldContext fieldContext = (FieldContext) context;
            elements.add(fieldContext.getJavaField().getName());
         }
         else if (context instanceof ClassContext) {

            ClassContext classContext = (ClassContext) context;
            elements.add(classContext.getJavaClass().getSimpleName());
View Full Code Here

TOP

Related Classes of org.ocpsoft.rewrite.annotation.api.FieldContext

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.