public class UnitsRelationsDefault extends @NonNull Object implements UnitsRelations
| Modifier and Type | Field and Description |
|---|---|
protected @Nullable AnnotationMirror |
h |
protected @Nullable AnnotationMirror |
km |
protected @Nullable AnnotationMirror |
km2 |
protected @Nullable AnnotationMirror |
kmPERh |
protected @Nullable AnnotationMirror |
m |
protected @Nullable AnnotationMirror |
m2 |
protected @Nullable AnnotationMirror |
mPERs |
protected @Nullable AnnotationMirror |
s |
| Constructor and Description |
|---|
UnitsRelationsDefault() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable AnnotationMirror |
division(@Mutable AnnotatedTypeMirror p1,
@Mutable AnnotatedTypeMirror p2)
Called for the division of type p1 and p2.
|
UnitsRelations |
init(AnnotationUtils annos,
ProcessingEnvironment env)
Initialize the object.
|
@Nullable AnnotationMirror |
multiplication(@Mutable AnnotatedTypeMirror p1,
@Mutable AnnotatedTypeMirror p2)
Called for the multiplication of type p1 and p2.
|
protected @Nullable AnnotationMirror m
protected @Nullable AnnotationMirror km
protected @Nullable AnnotationMirror m2
protected @Nullable AnnotationMirror km2
protected @Nullable AnnotationMirror s
protected @Nullable AnnotationMirror h
protected @Nullable AnnotationMirror mPERs
protected @Nullable AnnotationMirror kmPERh
public UnitsRelations init(AnnotationUtils annos, ProcessingEnvironment env)
UnitsRelationsinit in interface UnitsRelationsannos - The AnnotationUtils to use.env - The ProcessingEnvironment to use.public @Nullable AnnotationMirror multiplication(@Mutable AnnotatedTypeMirror p1, @Mutable AnnotatedTypeMirror p2)
UnitsRelationsmultiplication in interface UnitsRelationsp1 - LHS in multiplication.p2 - RHS in multiplication.public @Nullable AnnotationMirror division(@Mutable AnnotatedTypeMirror p1, @Mutable AnnotatedTypeMirror p2)
UnitsRelationsdivision in interface UnitsRelationsp1 - LHS in division.p2 - RHS in division.