com.cedarsoft.codegen.mock
Class AnnotationProcessorEnvironmentMock
java.lang.Object
com.cedarsoft.codegen.mock.AnnotationProcessorEnvironmentMock
- All Implemented Interfaces:
- com.sun.mirror.apt.AnnotationProcessorEnvironment
public class AnnotationProcessorEnvironmentMock
- extends Object
- implements com.sun.mirror.apt.AnnotationProcessorEnvironment
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationProcessorEnvironmentMock
public AnnotationProcessorEnvironmentMock()
getOptions
public Map<String,String> getOptions()
- Specified by:
getOptions in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getMessager
public com.sun.mirror.apt.Messager getMessager()
- Specified by:
getMessager in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getFiler
public com.sun.mirror.apt.Filer getFiler()
- Specified by:
getFiler in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getSpecifiedTypeDeclarations
public Collection<com.sun.mirror.declaration.TypeDeclaration> getSpecifiedTypeDeclarations()
- Specified by:
getSpecifiedTypeDeclarations in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getPackage
public com.sun.mirror.declaration.PackageDeclaration getPackage(String name)
- Specified by:
getPackage in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getTypeDeclaration
public com.sun.mirror.declaration.TypeDeclaration getTypeDeclaration(String name)
- Specified by:
getTypeDeclaration in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getTypeDeclarations
public Collection<com.sun.mirror.declaration.TypeDeclaration> getTypeDeclarations()
- Specified by:
getTypeDeclarations in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getDeclarationsAnnotatedWith
public Collection<com.sun.mirror.declaration.Declaration> getDeclarationsAnnotatedWith(com.sun.mirror.declaration.AnnotationTypeDeclaration a)
- Specified by:
getDeclarationsAnnotatedWith in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getDeclarationUtils
public com.sun.mirror.util.Declarations getDeclarationUtils()
- Specified by:
getDeclarationUtils in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
getTypeUtils
public com.sun.mirror.util.Types getTypeUtils()
- Specified by:
getTypeUtils in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
addListener
public void addListener(com.sun.mirror.apt.AnnotationProcessorListener listener)
- Specified by:
addListener in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
removeListener
public void removeListener(com.sun.mirror.apt.AnnotationProcessorListener listener)
- Specified by:
removeListener in interface com.sun.mirror.apt.AnnotationProcessorEnvironment
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.