Class TypeLiteralAdapterMatcher

java.lang.Object
ru.vyarus.guicey.eventbus.module.TypeLiteralAdapterMatcher
All Implemented Interfaces:
com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>>

public class TypeLiteralAdapterMatcher extends 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 Class<?>> classMatcher)
     
  • Method Summary

    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 Details

    • TypeLiteralAdapterMatcher

      public TypeLiteralAdapterMatcher(com.google.inject.matcher.Matcher<? super Class<?>> classMatcher)
  • Method Details

    • 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<?>>