Code Duplication    Length = 10-10 lines in 2 locations

Ubiquity/orm/parser/Reflexion.php 2 locations

@@ 109-118 (lines=10) @@
106
		return false;
107
	}
108
109
	public static function getMembersAnnotationWithAnnotation($class, $annotation) {
110
		$props=self::getProperties($class);
111
		$ret=array ();
112
		foreach ( $props as $prop ) {
113
			$annot=self::getAnnotationMember($class, $prop->getName(), $annotation);
114
			if ($annot !== false)
115
				$ret[$prop->getName()]=$annot;
116
		}
117
		return $ret;
118
	}
119
120
	public static function getMembersWithAnnotation($class, $annotation) {
121
		$props=self::getProperties($class);
@@ 131-140 (lines=10) @@
128
		return $ret;
129
	}
130
131
	public static function getMembersNameWithAnnotation($class, $annotation) {
132
		$props=self::getProperties($class);
133
		$ret=array ();
134
		foreach ( $props as $prop ) {
135
			$annot=self::getAnnotationMember($class, $prop->getName(), $annotation);
136
			if ($annot !== false)
137
				$ret[]=$prop->getName();
138
		}
139
		return $ret;
140
	}
141
142
	public static function isNullable($class, $member) {
143
		$ret=self::getAnnotationMember($class, $member, "@column");