Class GenAidlDescriptionArg

    • Method Detail

      • getAidl

        public SourcePath getAidl()
        Returns:
        The value of the aidl attribute
      • getImportPath

        public String getImportPath()
        Returns:
        The value of the importPath attribute
      • getAidlSrcs

        public com.google.common.collect.ImmutableSortedSet<SourcePath> getAidlSrcs()
        Returns:
        The value of the aidlSrcs attribute
      • getLicenses

        public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
        Returns:
        The value of the licenses attribute
      • getLabels

        public com.google.common.collect.ImmutableSortedSet<String> getLabels()
        Returns:
        The value of the labels attribute
      • getDefaultTargetPlatform

        public Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
        The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.

        The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.

      • getCompatibleWith

        public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
        A list of config_setting a target is compatible with.
      • getName

        public String getName()
        Each rule has a name
      • getDeps

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
        Returns:
        The value of the deps attribute
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of GenAidlDescriptionArg that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: aidl, importPath, aidlSrcs, licenses, labels, defaultTargetPlatform, compatibleWith, name, deps.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value GenAidlDescriptionArg with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value