Package software.amazon.smithy.model
Interface FromSourceLocation
-
- All Known Implementing Classes:
AbstractShapeBuilder
,AbstractTrait
,ActionNameTrait
,ActionPermissionDescriptionTrait
,AddedDefaultTrait
,AnnotationTrait
,ApiKeySourceTrait
,ArnReferenceTrait
,ArnTrait
,ArrayNode
,ArrayValue
,AuthDefinitionTrait
,AuthorizersTrait
,AuthorizerTrait
,AuthTrait
,AwsJson1_0Trait
,AwsJson1_1Trait
,AwsPartition
,AwsProtocolTrait
,AwsQueryCompatibleTrait
,AwsQueryErrorTrait
,AwsQueryTrait
,BigDecimalShape
,BigDecimalShape.Builder
,BigIntegerShape
,BigIntegerShape.Builder
,BlobShape
,BlobShape.Builder
,BooleanEquals
,BooleanLiteral
,BooleanNode
,BooleanShape
,BooleanShape.Builder
,BooleanValue
,BoxTrait
,ByteShape
,ByteShape.Builder
,CapturedToken
,CfnAdditionalIdentifierTrait
,CfnDefaultValueTrait
,CfnExcludePropertyTrait
,CfnMutabilityTrait
,CfnNameTrait
,CfnResourceTrait
,ChangedMetadata
,ChangedShape
,ClientContextParamsTrait
,ClientDiscoveredEndpointTrait
,ClientEndpointDiscoveryIdTrait
,ClientEndpointDiscoveryTrait
,ClientOptionalTrait
,CognitoUserPoolsTrait
,CollectionShape
,CollectionShape.Builder
,Condition
,ConditionKeysTrait
,ConditionKeyValueTrait
,ContextParamTrait
,ControlPlaneTrait
,CorsTrait
,DataPlaneTrait
,DataTrait
,DefaultTrait
,DefineConditionKeysTrait
,DeprecatedTrait
,DisableConditionKeyInferenceTrait
,DocumentationTrait
,DocumentShape
,DocumentShape.Builder
,DoubleShape
,DoubleShape.Builder
,DualStackOnlyEndpointsTrait
,DynamicTrait
,Ec2QueryNameTrait
,Ec2QueryTrait
,EmptyValue
,Endpoint
,Endpoint.Builder
,EndpointModifierTrait
,EndpointRule
,EndpointRuleSet
,EndpointRuleSet.Builder
,EndpointRuleSetTrait
,EndpointTestCase
,EndpointTestExpectation
,EndpointTestOperationInput
,EndpointTestsTrait
,EndpointTrait
,EndpointValue
,EndpointValue.Builder
,EntityShape
,EntityShape.Builder
,EnumShape
,EnumShape.Builder
,EnumTrait
,EnumValueTrait
,ErrorRule
,ErrorTrait
,EventHeaderTrait
,EventPayloadTrait
,ExamplesTrait
,ExpectationNotMetException
,ExpectedEndpoint
,Expression
,ExternalDocumentationTrait
,FloatShape
,FloatShape.Builder
,FunctionNode
,FunctionNode.Builder
,GetAttr
,HostLabelTrait
,HttpApiKeyAuthTrait
,HttpBasicAuthTrait
,HttpBearerAuthTrait
,HttpChecksumRequiredTrait
,HttpChecksumTrait
,HttpDigestAuthTrait
,HttpErrorTrait
,HttpHeaderTrait
,HttpLabelTrait
,HttpMalformedRequestTestsTrait
,HttpPayloadTrait
,HttpPrefixHeadersTrait
,HttpQueryParamsTrait
,HttpQueryTrait
,HttpRequestTestsTrait
,HttpResponseCodeTrait
,HttpResponseTestsTrait
,HttpTrait
,IamActionTrait
,IamResourceTrait
,IdempotencyTokenTrait
,IdempotentTrait
,Identifier
,IdRefTrait
,InputTrait
,IntegerLiteral
,IntegerShape
,IntegerShape.Builder
,IntegerValue
,IntegrationTrait
,IntEnumShape
,IntEnumShape.Builder
,InternalTrait
,InvalidRulesException
,IsSet
,IsValidHostLabel
,IsVirtualHostableS3Bucket
,JsonNameTrait
,LengthTrait
,LibraryFunction
,ListShape
,ListShape.Builder
,Literal
,LongShape
,LongShape.Builder
,MapShape
,MapShape.Builder
,MediaTypeTrait
,MemberShape
,MemberShape.Builder
,MixinTrait
,MockIntegrationTrait
,ModelSyntaxException
,MqttJsonTrait
,NestedPropertiesTrait
,NoAuthTrait
,Node
,NodeDeserializationException
,NoReplaceTrait
,Not
,NotPropertyTrait
,NullNode
,NumberNode
,NumberShape
,ObjectNode
,OperationShape
,OperationShape.Builder
,OptionalAuthTrait
,OriginalShapeIdTrait
,OutputTrait
,PaginatedTrait
,Parameter
,Parameter.Builder
,Parameters
,Parameters.Builder
,ParseArn
,ParseUrl
,Partition
,Partition.Builder
,PartitionEndpointSpecialCase
,PartitionOutputs
,PartitionOutputs.Builder
,Partitions
,Partitions.Builder
,PartitionSpecialCase
,PatternTrait
,PrivateTrait
,PropertyTrait
,ProtocolDefinitionTrait
,PublishTrait
,RangeTrait
,ReadonlyTrait
,RecommendedTrait
,RecordLiteral
,RecordValue
,Reference
,ReferencesTrait
,RegionOverride
,RegionOverride.Builder
,RegionSpecialCase
,RequestCompressionTrait
,RequestValidatorTrait
,RequiredActionsTrait
,RequiredTrait
,RequiresLengthTrait
,ResourceIdentifierTrait
,ResourceShape
,ResourceShape.Builder
,RestJson1Trait
,RestXmlTrait
,RetryableTrait
,Rpcv2CborTrait
,Rule
,RuleBasedEndpointsTrait
,RulesComponentBuilder
,S3UnwrappedXmlOutputTrait
,SensitiveTrait
,ServiceResolvedConditionKeysTrait
,ServiceShape
,ServiceShape.Builder
,ServiceTrait
,SetShape
,SetShape.Builder
,Shape
,ShortShape
,ShortShape.Builder
,SigV4ATrait
,SigV4Trait
,SimpleShape
,SinceTrait
,SmokeTestsTrait
,SourceException
,SourceLocation
,SparseTrait
,SpecificationExtensionTrait
,StandardPartitionalEndpointsTrait
,StandardRegionalEndpointsTrait
,StaticContextParamsTrait
,StreamingTrait
,StringEquals
,StringListTrait
,StringLiteral
,StringNode
,StringShape
,StringShape.Builder
,StringTrait
,StringValue
,StructureShape
,StructureShape.Builder
,SubscribeTrait
,Substring
,SupportedPrincipalTypesTrait
,SuppressTrait
,SyntheticEnumTrait
,TagEnabledTrait
,TaggableApiConfig
,TaggableTrait
,TagsTrait
,Template
,TimestampFormatTrait
,TimestampShape
,TimestampShape.Builder
,TitleTrait
,TopicLabelTrait
,TraitDefinition
,TraitValidatorsTrait
,TreeCursor
,TreeRule
,TupleLiteral
,UnionShape
,UnionShape.Builder
,UniqueItemsTrait
,UnitTypeTrait
,UnsignedPayloadTrait
,UnstableTrait
,UriEncode
,ValidationEvent
,Value
,WaitableTrait
,XmlAttributeTrait
,XmlFlattenedTrait
,XmlNamespaceTrait
,XmlNameTrait
public interface FromSourceLocation
A value that can be traced back to aSourceLocation
.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static int
compare(FromSourceLocation s1, FromSourceLocation s2)
Compares two FromSourceLocations.default SourceLocation
getSourceLocation()
Gets the source location of a value.
-
-
-
Method Detail
-
getSourceLocation
default SourceLocation getSourceLocation()
Gets the source location of a value.- Returns:
- Returns the source location of the value.
-
compare
static int compare(FromSourceLocation s1, FromSourceLocation s2)
Compares two FromSourceLocations.- Parameters:
s1
- the first FromSourceLocation to compare.s2
- the second FromSourceLocation to compare.- Returns:
- the value 0 if s1 == s2; a value less than 0 if s1 < s2; and a value greater than 0 if s1 > s2.
-
-