org.richfaces.cdk.apt
Class AptSourceUtils.AptBeanProperty

java.lang.Object
  extended by org.richfaces.cdk.apt.AptSourceUtils.AptBeanProperty
All Implemented Interfaces:
SourceUtils.BeanProperty
Enclosing class:
AptSourceUtils

protected final class AptSourceUtils.AptBeanProperty
extends java.lang.Object
implements SourceUtils.BeanProperty

Author:
asmirnov@exadel.com

Constructor Summary
AptSourceUtils.AptBeanProperty(java.lang.String name)
          

 
Method Summary
 boolean equals(java.lang.Object obj)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationType)
           
 java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
           
 java.lang.String getDocComment()
          

Get JavaDoc comment of appropriate bean property element.

 java.lang.String getName()
          

 ClassName getType()
           
 int hashCode()
           
 boolean isExists()
          

 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptSourceUtils.AptBeanProperty

public AptSourceUtils.AptBeanProperty(java.lang.String name)

Parameters:
name -
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getName

public java.lang.String getName()

Specified by:
getName in interface SourceUtils.BeanProperty
Returns:
the name

getDocComment

public java.lang.String getDocComment()

Get JavaDoc comment of appropriate bean property element.

Specified by:
getDocComment in interface SourceUtils.BeanProperty
Returns:

getType

public ClassName getType()
Specified by:
getType in interface SourceUtils.BeanProperty

isExists

public boolean isExists()

Specified by:
isExists in interface SourceUtils.BeanProperty
Returns:
the exists

getAnnotationMirrors

public java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
Specified by:
getAnnotationMirrors in interface SourceUtils.BeanProperty

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Specified by:
getAnnotation in interface SourceUtils.BeanProperty


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.