Initial commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
package com.alibaba.android.arouter.facade.enums;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public enum RouteType {
|
||||
ACTIVITY(0, "android.app.Activity"),
|
||||
SERVICE(1, "android.app.Service"),
|
||||
PROVIDER(2, "com.alibaba.android.arouter.facade.template.IProvider"),
|
||||
CONTENT_PROVIDER(-1, "android.app.ContentProvider"),
|
||||
BOARDCAST(-1, ""),
|
||||
METHOD(-1, ""),
|
||||
FRAGMENT(-1, "android.app.Fragment"),
|
||||
UNKNOWN(-1, "Unknown route type");
|
||||
|
||||
String className;
|
||||
int id;
|
||||
|
||||
RouteType(int i, String str) {
|
||||
this.id = i;
|
||||
this.className = str;
|
||||
}
|
||||
|
||||
public static RouteType parse(String str) {
|
||||
for (RouteType routeType : values()) {
|
||||
if (routeType.getClassName().equals(str)) {
|
||||
return routeType;
|
||||
}
|
||||
}
|
||||
return UNKNOWN;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return this.className;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public RouteType setClassName(String str) {
|
||||
this.className = str;
|
||||
return this;
|
||||
}
|
||||
|
||||
public RouteType setId(int i) {
|
||||
this.id = i;
|
||||
return this;
|
||||
}
|
||||
}
|
@@ -0,0 +1,17 @@
|
||||
package com.alibaba.android.arouter.facade.enums;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public enum TypeKind {
|
||||
BOOLEAN,
|
||||
BYTE,
|
||||
SHORT,
|
||||
INT,
|
||||
LONG,
|
||||
CHAR,
|
||||
FLOAT,
|
||||
DOUBLE,
|
||||
STRING,
|
||||
SERIALIZABLE,
|
||||
PARCELABLE,
|
||||
OBJECT
|
||||
}
|
Reference in New Issue
Block a user