public class MethodConvertor extends Object implements BiConvertor<String,Method>
| Constructor and Description |
|---|
MethodConvertor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
method2Str(Method mth)
pro.fessional.mirana.cast.MyClass#method(String,int)
|
@NotNull Class<String> |
sourceType()
the source type
|
static Method |
str2Method(String str) |
static Method |
str2Method(String str,
boolean nullIfError) |
@NotNull Class<Method> |
targetType()
the target type
|
@Nullable String |
toSource(Method m)
pro.fessional.mirana.cast.EnumConvertorTest$Tx#ONE
|
@Nullable Method |
toTarget(String s)
convert source to target
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanToSource, canToSource, canToTarget, canToTarget, compose, of, reverseBiConvertor, tryToSource, tryToSource, tryToTarget, tryToTarget@NotNull public @NotNull Class<String> sourceType()
BiConvertorsourceType in interface BiConvertor<String,Method>@NotNull public @NotNull Class<Method> targetType()
BiConvertortargetType in interface BiConvertor<String,Method>@Nullable public @Nullable Method toTarget(String s)
BiConvertortoTarget in interface BiConvertor<String,Method>s - the source@Nullable public @Nullable String toSource(Method m)
toSource in interface BiConvertor<String,Method>m - enum@Contract(value="!null->!null") public static String method2Str(Method mth)
Copyright © 2024. All rights reserved.