Class TypeBoundClass.ParamInfo

  • Enclosing interface:
    TypeBoundClass

    public static class TypeBoundClass.ParamInfo
    extends java.lang.Object
    A formal parameter declaration.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParamInfo​(ParamSymbol sym, Type type, com.google.common.collect.ImmutableList<AnnoInfo> annotations, int access)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int access()
      The parameter's modifiers.
      com.google.common.collect.ImmutableList<AnnoInfo> annotations()
      Parameter annotations.
      java.lang.String name()
      The parameter's name.
      ParamSymbol sym()
      The parameter's symbol.
      boolean synthetic()
      Returns true if the parameter is synthetic, e.g.
      Type type()
      The parameter type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParamInfo

        public ParamInfo​(ParamSymbol sym,
                         Type type,
                         com.google.common.collect.ImmutableList<AnnoInfo> annotations,
                         int access)
    • Method Detail

      • sym

        public ParamSymbol sym()
        The parameter's symbol.
      • type

        public Type type()
        The parameter type.
      • synthetic

        public boolean synthetic()
        Returns true if the parameter is synthetic, e.g. the enclosing instance parameter in an inner class constructor.
      • annotations

        public com.google.common.collect.ImmutableList<AnnoInfo> annotations()
        Parameter annotations.
      • name

        public java.lang.String name()
        The parameter's name.
      • access

        public int access()
        The parameter's modifiers.