Class Annotation

java.lang.Object
org.jruby.ast.java_signature.Annotation
All Implemented Interfaces:
AnnotationExpression

public class Annotation extends Object implements AnnotationExpression
  • Constructor Details

  • Method Details

    • isAnnotation

      public boolean isAnnotation()
      modifiers and annotations can be mixed together in java signatures.
    • getName

      public String getName()
    • getParameters

      public List<AnnotationParameter> getParameters()
    • accept

      public <T> T accept(AnnotationVisitor<T> visitor)
      Accept for the visitor pattern.
      Specified by:
      accept in interface AnnotationExpression
      Parameters:
      visitor - the visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringParameters

      public String toStringParameters()