Class JavaParserRecordDeclaration.CanonicalRecordConstructor

java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserRecordDeclaration.CanonicalRecordConstructor
All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.HasAccessSpecifier, com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration, com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
Enclosing class:
JavaParserRecordDeclaration

public static class JavaParserRecordDeclaration.CanonicalRecordConstructor extends Object implements com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
Author:
Federico Tomassetti
  • Constructor Summary

    Constructors
    Constructor
    Description
    CanonicalRecordConstructor(com.github.javaparser.ast.body.RecordDeclaration recordDeclaration, com.github.javaparser.resolution.TypeSolver typeSolver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.javaparser.ast.AccessSpecifier
     
    com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
     
     
    int
     
    int
     
    com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
    getParam(int i)
     
    com.github.javaparser.resolution.types.ResolvedType
     
    List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration>
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST

    toAst, toAst

    Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration

    asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isArrayLength, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable

    Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration

    findTypeParameter, formalParameterTypes, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameter

    Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable

    isGeneric
  • Constructor Details

    • CanonicalRecordConstructor

      public CanonicalRecordConstructor(com.github.javaparser.ast.body.RecordDeclaration recordDeclaration, com.github.javaparser.resolution.TypeSolver typeSolver)
  • Method Details

    • accessSpecifier

      public com.github.javaparser.ast.AccessSpecifier accessSpecifier()
      Specified by:
      accessSpecifier in interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
    • declaringType

      public com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration declaringType()
      Specified by:
      declaringType in interface com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
      Specified by:
      declaringType in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
    • getNumberOfParams

      public int getNumberOfParams()
      Specified by:
      getNumberOfParams in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
    • getParam

      public com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration getParam(int i)
      Specified by:
      getParam in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
    • getNumberOfSpecifiedExceptions

      public int getNumberOfSpecifiedExceptions()
      Specified by:
      getNumberOfSpecifiedExceptions in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
    • getSpecifiedException

      public com.github.javaparser.resolution.types.ResolvedType getSpecifiedException(int index)
      Specified by:
      getSpecifiedException in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
    • getName

      public String getName()
      Specified by:
      getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
    • getTypeParameters

      public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
      Specified by:
      getTypeParameters in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable