net.sf.daileon.notsupported
Class DomainAnnotationsKeeper

java.lang.Object
  extended by org.objectweb.asm.ClassAdapter
      extended by net.sf.daileon.notsupported.AbstractAnnotationsReplacerBase
          extended by net.sf.daileon.notsupported.AbstractAnnotationsReplacer
              extended by net.sf.daileon.notsupported.DomainAnnotationsKeeper
All Implemented Interfaces:
org.objectweb.asm.ClassVisitor

public class DomainAnnotationsKeeper
extends AbstractAnnotationsReplacer


Field Summary
 
Fields inherited from class org.objectweb.asm.ClassAdapter
cv
 
Constructor Summary
DomainAnnotationsKeeper(org.objectweb.asm.ClassVisitor classVisitor)
           
 
Method Summary
protected  boolean keepDomainAnnotations()
          Informs whether the domain annotations should be either kept or not in the final bytecode.
 
Methods inherited from class net.sf.daileon.notsupported.AbstractAnnotationsReplacer
setClassName, visitAttribute, visitField, visitMethod
 
Methods inherited from class net.sf.daileon.notsupported.AbstractAnnotationsReplacerBase
addDomainAnnotation, addElementAnnotations, handleElement
 
Methods inherited from class org.objectweb.asm.ClassAdapter
visit, visitEnd, visitInnerClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainAnnotationsKeeper

public DomainAnnotationsKeeper(org.objectweb.asm.ClassVisitor classVisitor)
Method Detail

keepDomainAnnotations

protected boolean keepDomainAnnotations()
Description copied from class: AbstractAnnotationsReplacerBase
Informs whether the domain annotations should be either kept or not in the final bytecode.

Specified by:
keepDomainAnnotations in class AbstractAnnotationsReplacerBase
Returns:
A boolean value that can be:
  • true if the domain annotations should be kept in the final bytecode;
  • false if the domain annotations should not be kept in the final bytecode.