org.richfaces.cdk.apt.ReflectionUtils Maven / Gradle / Ivy
The newest version!
/*
* $Id$
*
* License Agreement.
*
* Rich Faces - Natural Ajax for Java Server Faces (JSF)
*
* Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.richfaces.cdk.apt;
import java.lang.annotation.Annotation;
import java.util.Set;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
import javax.lang.model.type.TypeMirror;
import org.richfaces.cdk.model.ClassName;
/**
*
*
*
* @author [email protected]
*
*/
public class ReflectionUtils implements SourceUtils {
@Override
public TypeElement asTypeElement(TypeMirror mirror) {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isClassExists(ClassName type) {
return true;
}
@Override
public Set getAbstractBeanProperties(TypeElement type) {
// TODO Auto-generated method stub
return null;
}
@Override
public Set getBeanPropertiesAnnotatedWith(Class extends Annotation> annotation, TypeElement type) {
// TODO Auto-generated method stub
return null;
}
@Override
public BeanProperty getBeanProperty(TypeElement type, String name) {
return getBeanProperty(type, name);
}
@Override
public BeanProperty getBeanProperty(ClassName type, String name) {
// TODO Auto-generated method stub
return null;
}
@Override
public Object getConstant(TypeElement element, String name) {
// TODO Auto-generated method stub
return null;
}
@Override
public String getDocComment(Element element) {
// TODO Auto-generated method stub
return null;
}
@Override
public void visitSupertypes(TypeElement type, SuperTypeVisitor visitor) {
// TODO Auto-generated method stub
}
@Override
public AnnotationMirror getAnnotationMirror(Element element, Class extends Annotation> annotationType) {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isAnnotationPresent(Element element, Class extends Annotation> annotationType) {
// TODO Auto-generated method stub
return false;
}
@Override
public T getAnnotationValue(AnnotationMirror annotation, String propertyName, Class expectedType) {
// TODO Auto-generated method stub
return null;
}
@Override
public Iterable getAnnotationValues(AnnotationMirror annotation, String propertyName, Class expectedType) {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isDefaultValue(AnnotationMirror annotation, String propertyName) {
// TODO Auto-generated method stub
return false;
}
public boolean isAnnotationPropertyPresent(AnnotationMirror annotation, final String propertyName) {
return false;
}
public void setModelProperty(Object model, AnnotationMirror annotation, String modelProperty, String annotationAttribute) {
}
public void setModelProperty(Object model, AnnotationMirror annotation, String modelProperty) {
}
}