Class TypeLiteralAdapterMatcher

  • All Implemented Interfaces:
    com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>

    public class TypeLiteralAdapterMatcher
    extends java.lang.Object
    implements com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>
    Wrapper for class matcher to be used for matching type literals.
    Since:
    02.12.2016
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeLiteralAdapterMatcher​(com.google.inject.matcher.Matcher<? super java.lang.Class<?>> classMatcher)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> and​(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> other)  
      boolean matches​(com.google.inject.TypeLiteral<?> typeLiteral)  
      com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> or​(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> other)  
      • Methods inherited from class java.lang.Object

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

      • TypeLiteralAdapterMatcher

        public TypeLiteralAdapterMatcher​(com.google.inject.matcher.Matcher<? super java.lang.Class<?>> classMatcher)
    • Method Detail

      • matches

        public boolean matches​(com.google.inject.TypeLiteral<?> typeLiteral)
        Specified by:
        matches in interface com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>
      • and

        public com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> and​(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> other)
        Specified by:
        and in interface com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>
      • or

        public com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> or​(com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> other)
        Specified by:
        or in interface com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>