Here you can find the source of getAnnotationFullname(Annotation annotation)
static public String getAnnotationFullname(Annotation annotation)
//package com.java2s; //License from project: Open Source License import java.lang.annotation.Annotation; public class Main { static public String getAnnotationFullname(Annotation annotation) { return getAnnotationFullname(annotation.annotationType()); }//from w w w . j a v a2 s . c om static public String getAnnotationFullname(Class<? extends Annotation> type) { String[] parts = type.toString().split(" "); return parts[1]; } }