org.nakedobjects.metamodel.java5
Class RemoveInitMethodFacetFactory

java.lang.Object
  extended by org.nakedobjects.metamodel.facets.FacetFactoryAbstract
      extended by org.nakedobjects.metamodel.java5.RemoveInitMethodFacetFactory
All Implemented Interfaces:
FacetFactory, SpecificationLoaderAware

public class RemoveInitMethodFacetFactory
extends FacetFactoryAbstract

Removes any calls to init.


Constructor Summary
RemoveInitMethodFacetFactory()
           
 
Method Summary
 boolean process(java.lang.Class<?> type, MethodRemover methodRemover, FacetHolder holder)
          Process the class, and return the correctly setup annotation if present.
 
Methods inherited from class org.nakedobjects.metamodel.facets.FacetFactoryAbstract
getFeatureTypes, getSpecificationLoader, process, processParams, setSpecificationLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveInitMethodFacetFactory

public RemoveInitMethodFacetFactory()
Method Detail

process

public boolean process(java.lang.Class<?> type,
                       MethodRemover methodRemover,
                       FacetHolder holder)
Description copied from interface: FacetFactory
Process the class, and return the correctly setup annotation if present.

Specified by:
process in interface FacetFactory
Overrides:
process in class FacetFactoryAbstract
Parameters:
type - - class being processed
methodRemover - - allow any methods of the class to be removed
holder - - to attach the facets to
Returns:
true if any facets were added, false otherwise.


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.