Class PipeMappings

java.lang.Object
fr.skytasul.reflection.shrieker.PipeMappings
All Implemented Interfaces:
fr.skytasul.reflection.mappings.Mappings

public class PipeMappings extends Object implements fr.skytasul.reflection.mappings.Mappings
i.e.:
 from contains mapping:
   some.package.class -> a:
     someField -> x
     someMethod(some.package.class) -> z

 to contains mapping:
   a -> another.classname
     x -> aField
     z(a) -> aMethod
     unmappedField -> mappedField
   //some.unmapped.class -> remapped.class

 this pipe contains mapping:
   some.package.class -> another.classname:
     someField -> aField
     someMethod(some.package.class) -> aMethod
     unmappedField -> mappedField
   //some.unmapped.class -> remapped.class
 
  • Nested Class Summary

    Nested classes/interfaces inherited from interface fr.skytasul.reflection.mappings.Mappings

    fr.skytasul.reflection.mappings.Mappings.ClassMapping, fr.skytasul.reflection.mappings.Mappings.MappedObject
  • Constructor Summary

    Constructors
    Constructor
    Description
    PipeMappings(@NotNull fr.skytasul.reflection.mappings.Mappings from, @NotNull fr.skytasul.reflection.mappings.Mappings to)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<? extends fr.skytasul.reflection.mappings.Mappings.ClassMapping>
     
    protected @NotNull Optional<fr.skytasul.reflection.shrieker.PipeMappings.PipeClass>
    getClassFromMiddleName(@NotNull String middle)
     

    Methods inherited from class java.lang.Object

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

    • PipeMappings

      public PipeMappings(@NotNull @NotNull fr.skytasul.reflection.mappings.Mappings from, @NotNull @NotNull fr.skytasul.reflection.mappings.Mappings to)
  • Method Details

    • getClasses

      public Collection<? extends fr.skytasul.reflection.mappings.Mappings.ClassMapping> getClasses()
      Specified by:
      getClasses in interface fr.skytasul.reflection.mappings.Mappings
    • getClassFromMiddleName

      @NotNull protected @NotNull Optional<fr.skytasul.reflection.shrieker.PipeMappings.PipeClass> getClassFromMiddleName(@NotNull @NotNull String middle)