com.dp4j.processors
Class GetInstanceProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.dp4j.processors.DProcessor
          extended by com.dp4j.processors.GetInstanceProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes(value="com.mysimpatico.se.dp4java.annotations.singleton.getInstance")
public class GetInstanceProcessor
extends DProcessor

Processes @instance annotation verifying that it's: - static - returns instance


Field Summary
 
Fields inherited from class com.dp4j.processors.DProcessor
arrayBrac, clazz, elementUtils, encClass, javaLangClass, methTree, msgr, options, rs, symTable, thisExp, tm, trees, typeUtils, varArgsDots, verbose
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
GetInstanceProcessor()
           
 
Method Summary
protected  void processElement(Element e, TypeElement ann, boolean warningsOnly)
           
 
Methods inherited from class com.dp4j.processors.DProcessor
differentArg, emptyList, getArray, getArray, getArrayDecl, getArrayDecl, getBlock, getCatches, getCatches, getDeclaredType, getElementsAnnotated, getEmptyArgsConstructor, getId, getId, getIdAfterImporting, getIdentAfterImporting, getIfNull, getIfNull, getMethodInvoc, getMethodInvoc, getMethodInvoc, getMethodInvoc, getMethodInvoc, getMethodInvoc, getMethodInvoc, getMethodsWithSameName, getNull, getParamsList, getRefMethodInvoc, getSmallerList, getSupportedOptions, getSupportedSourceVersion, getTypeElement, getTypes, getVarDecl, getVarDecl, getVarDecl, getVarDecl, init, injectBefore, isOnlyHandler, merge, printMsg, printVerbose, process, replace, throwException, throwExceptions, throwExceptions, toList, toString
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetInstanceProcessor

public GetInstanceProcessor()
Method Detail

processElement

protected void processElement(Element e,
                              TypeElement ann,
                              boolean warningsOnly)
Specified by:
processElement in class DProcessor


Copyright © 2011. All Rights Reserved.