Code example for AnnotationMirror

Methods: getAnnotationType

0
		} 
	} 
 
	@Override 
	public String getAutoTypeFromAnnotation(AnnotationMirror annotation) {
		Class annotation_class = NativeTypeTranslator.getClassFromType(annotation.getAnnotationType());
		if ( annotation_class.equals(GLint.class) ) {
			return "GL11.GL_INT"; 
		} else if ( annotation_class.equals(GLbyte.class) ) {
			return "GL11.GL_BYTE"; 
		} else if ( annotation_class.equals(GLshort.class) ) {
			return "GL11.GL_SHORT"; 
		} 
		if ( annotation_class.equals(GLuint.class) ) {
			return "GL11.GL_UNSIGNED_INT"; 
		} else if ( annotation_class.equals(GLubyte.class) ) {
			return "GL11.GL_UNSIGNED_BYTE"; 
		} else if ( annotation_class.equals(GLushort.class) ) {
			return "GL11.GL_UNSIGNED_SHORT"; 
		} else if ( annotation_class.equals(GLfloat.class) ) {