Class ConstructorDeclaration

  • All Implemented Interfaces:
    Node

    public class ConstructorDeclaration
    extends MemberDeclaration
    Declaration of a constructor.
    • Field Detail

      • modifier

        public final int modifier
      • resultType

        public final java.lang.reflect.Type resultType
      • hash

        private int hash
        Cache the hash code for the expression
    • Constructor Detail

      • ConstructorDeclaration

        public ConstructorDeclaration​(int modifier,
                                      java.lang.reflect.Type declaredAgainst,
                                      java.util.List<ParameterExpression> parameters,
                                      BlockStatement body)
    • Method Detail

      • accept

        public <R> R accept​(Visitor<R> visitor)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object