java.lang.annotation.Target



API Populatity

188 Client projects

Project: java

Package: java.lang

Project groovy/groovy-core in file ...org.codehaus.groovy.classgen.ExtendedVerifier.java (2012-07-20)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2007 the original author or authors.
+ * Copyright 2003-2012 the original author or authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -15,8 +15,6 @@
  */
 package org.codehaus.groovy.classgen;
 
-import java.lang.annotation.Target;
-
 import org.codehaus.groovy.ast.*;
 import org.codehaus.groovy.ast.stmt.ReturnStatement;
 import org.codehaus.groovy.control.CompilerConfiguration;
Project hibernate/hibernate-orm in file ...a.org.hibernate.annotations.OptimisticLocking.java (2011-07-18)
@@ -24,6 +24,7 @@
 package org.hibernate.annotations;
 
 import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
 
 import static java.lang.annotation.ElementType.TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
@@ -34,7 +35,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
  *
  * @author Steve Ebersole
  */
-@java.lang.annotation.Target( TYPE )
+@Target( TYPE )
 @Retention( RUNTIME )
 public @interface OptimisticLocking {
 	OptimisticLockType type() default OptimisticLockType.VERSION;
Project JetBrains/intellij-community in file ...deInsight.completion.smartType.Annotation-out.java (2009-10-15)
@@ -0,0 +1,5 @@
+import java.lang.annotation.Target;
+@Target(value={ElementType.<caret>})
+@interface Annotation {
+
+}
\ No newline at end of file