Back to project page Skeleton.
The source code is released under:
Apache License
If you think the Android project Skeleton listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.gordon.skeleton.annotations; //from www . jav a2 s . co m /** * Created by kg on 11/5/14. */ public class AnnotationHelper { public static <T> T getAnnotation(Object annotatedClass, Class<T> annotation) { Class screenType = annotatedClass.getClass(); return (T) screenType.getAnnotation(annotation); } }